fix(color): minor layout issues on mixes and curves screens (#6000)
This commit is contained in:
@@ -67,7 +67,7 @@ class CurveButton : public Button
|
||||
CurveHeader &curve = g_model.curves[index];
|
||||
snprintf(buf, 32, "%s %d %s", STR_CURVE_TYPES[curve.type], 5 + curve.points,
|
||||
STR_PTS);
|
||||
new StaticText(this, {0, height() - INFO_H + 1, LV_PCT(100), 16}, buf,
|
||||
new StaticText(this, {0, height() - INFO_H, LV_PCT(100), 0}, buf,
|
||||
COLOR_THEME_SECONDARY1_INDEX, CENTERED | FONT(BOLD));
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ class MixGroup : public InputMixGroupBase
|
||||
etx_font(chText, FONT_XS_INDEX);
|
||||
lv_label_set_text_fmt(chText, TR_CH "%" PRIu32,
|
||||
UINT32_C(idx - MIXSRC_FIRST_CH + 1));
|
||||
lv_obj_set_pos(chText, PAD_TINY, CHNUM_Y);
|
||||
lv_obj_set_pos(chText, PAD_TINY, CHNUM_Y-1);
|
||||
}
|
||||
|
||||
refresh();
|
||||
|
||||
Reference in New Issue
Block a user