| 42 | }; |
| 43 | |
| 44 | void FocusPage::init() |
| 45 | { |
| 46 | stylesheet = FlexJsonStringify({"flexGrow" : 1.0}); |
| 47 | |
| 48 | _focusGroup = std::make_unique<FocusGroup>(); |
| 49 | |
| 50 | addChildView(makeRow("1", std::make_shared<TextFieldWithFocusButton>(needsInit, _focusGroup))); |
| 51 | addChildView(makeRow("2", std::make_shared<TextFieldWithFocusButton>(needsInit, _focusGroup))); |
| 52 | } |
| 53 | } |