fix(color): Allow scrolling of the version info popup with rotary encoder (#3987)

This commit is contained in:
philmoz
2023-09-23 14:57:44 +10:00
committed by GitHub
parent 60ccd852e3
commit 8778856d26
+6
View File
@@ -101,6 +101,12 @@ class VersionDialog : public Dialog
auto form = &content->form; auto form = &content->form;
form->setFlexLayout(); form->setFlexLayout();
auto g = lv_group_get_default();
lv_group_set_editing(g, true);
lv_obj_add_flag(form->getLvObj(), LV_OBJ_FLAG_SCROLLABLE);
lv_group_add_obj(g, form->getLvObj());
// headline "Internal module" // headline "Internal module"
new StaticText(form, rect_t{}, STR_INTERNAL_MODULE, 0, COLOR_THEME_PRIMARY1); new StaticText(form, rect_t{}, STR_INTERNAL_MODULE, 0, COLOR_THEME_PRIMARY1);