UI: Trigger view recreate on static sized screens.

If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
This commit is contained in:
Unknown W. Brackets committed 2017-12-27 01:13:47 -08:00
1 parent 4657397b57
commit c0f0bc88af
8 files changed
+17 -10

No files matched your search

+5 -1
View File
@@ -165,7 +165,11 @@ bool DisplayLayoutScreen::touch(const TouchInput &touch) {
picked_ = 0;
}
return true;
};
}
void DisplayLayoutScreen::resized() {
RecreateViews();
}
void DisplayLayoutScreen::onFinish(DialogResult reason) {
g_Config.Save();