fix(slider): edit mode
This commit is contained in:
committed by
Raphael Coeffic
parent
c5160d8102
commit
f7a768aae9
@@ -108,7 +108,7 @@ struct FMTrimSettings : public Dialog {
|
||||
|
||||
for (int t = 0; t < NUM_TRIMS; t++) {
|
||||
auto trim_obj = window_create(line->getLvObj());
|
||||
auto trim = new FormGroup::Line(line, trim_obj, nullptr, form);
|
||||
auto trim = new FormGroup::Line(line, trim_obj);
|
||||
lv_obj_set_layout(trim_obj, LV_LAYOUT_FLEX);
|
||||
lv_obj_set_style_pad_column(trim_obj, 4, 0);
|
||||
lv_obj_set_style_pad_bottom(trim_obj, 8, 0);
|
||||
|
||||
@@ -124,7 +124,7 @@ PreflightChecks::PreflightChecks() : Page(ICON_MODEL_SETUP)
|
||||
make_conditional(line, tw);
|
||||
|
||||
new StaticText(line, rect_t{}, STR_CUSTOM_THROTTLE_WARNING, 0, COLOR_THEME_PRIMARY1);
|
||||
auto box = new FormGroup::Line(line, window_create(line->getLvObj()), nullptr, form);
|
||||
auto box = new FormGroup::Line(line, window_create(line->getLvObj()));
|
||||
lv_obj_set_layout(box->getLvObj(), LV_LAYOUT_FLEX);
|
||||
|
||||
auto cst_tw = new CheckBox(
|
||||
|
||||
@@ -88,7 +88,7 @@ TimerWindow::TimerWindow(uint8_t timer) : Page(ICON_STATS_TIMERS)
|
||||
line = body.newLine(&grid);
|
||||
new StaticText(line, rect_t{}, STR_BEEPCOUNTDOWN, 0, COLOR_THEME_PRIMARY1);
|
||||
|
||||
auto box = new FormGroup::Line(line, window_create(line->getLvObj()), nullptr, &body);
|
||||
auto box = new FormGroup::Line(line, window_create(line->getLvObj()));
|
||||
lv_obj_set_layout(box->getLvObj(), LV_LAYOUT_FLEX);
|
||||
new Choice(box, rect_t{}, STR_VBEEPCOUNTDOWN, COUNTDOWN_SILENT,
|
||||
COUNTDOWN_COUNT - 1, GET_SET_DEFAULT(p_timer->countdownBeep));
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 373d0bbaeb...198cdeed52
Reference in New Issue
Block a user