Screen Setup fixed
This commit is contained in:
@@ -149,7 +149,7 @@ void ScreenSetupPage::build(FormWindow * window)
|
|||||||
grid.nextLine();
|
grid.nextLine();
|
||||||
|
|
||||||
// Dynamic options window...
|
// Dynamic options window...
|
||||||
optionsWindow = new FormGroup(window, {0, grid.getWindowHeight(), LCD_W, 0}, FORWARD_SCROLL);
|
optionsWindow = new FormGroup(window, {0, grid.getWindowHeight(), LCD_W, 0}, FORWARD_SCROLL | FORM_FORWARD_FOCUS);
|
||||||
grid.addWindow(optionsWindow);
|
grid.addWindow(optionsWindow);
|
||||||
updateLayoutOptions();
|
updateLayoutOptions();
|
||||||
}
|
}
|
||||||
@@ -158,7 +158,6 @@ void ScreenSetupPage::updateLayoutOptions()
|
|||||||
{
|
{
|
||||||
FormGridLayout grid;
|
FormGridLayout grid;
|
||||||
optionsWindow->clear();
|
optionsWindow->clear();
|
||||||
// FormField::setCurrentField(setupWidgetsButton); // next field will be linked to this button
|
|
||||||
|
|
||||||
auto screen = customScreens[pageIndex];
|
auto screen = customScreens[pageIndex];
|
||||||
|
|
||||||
@@ -202,6 +201,4 @@ void ScreenSetupPage::updateLayoutOptions()
|
|||||||
|
|
||||||
optionsWindow->adjustHeight();
|
optionsWindow->adjustHeight();
|
||||||
optionsWindow->getParent()->adjustInnerHeight();
|
optionsWindow->getParent()->adjustInnerHeight();
|
||||||
|
|
||||||
// FormField::link(FormField::getCurrentField(), layoutChoice);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user