fix(color): Add extra line in telemetry screen for vertical LCD (#2422)
TODO: Is a temporary fix only until telemetry screen is reworked
This commit is contained in:
@@ -483,6 +483,8 @@ void ModelTelemetryPage::build(FormWindow * window, int8_t focusSensorIndex)
|
|||||||
new StaticText(window, grid.getLabelSlot(true), STR_DISABLE_ALARM, 0, COLOR_THEME_PRIMARY1);
|
new StaticText(window, grid.getLabelSlot(true), STR_DISABLE_ALARM, 0, COLOR_THEME_PRIMARY1);
|
||||||
new CheckBox(window, grid.getFieldSlot(), GET_SET_DEFAULT(g_model.rssiAlarms.disabled));
|
new CheckBox(window, grid.getFieldSlot(), GET_SET_DEFAULT(g_model.rssiAlarms.disabled));
|
||||||
grid.nextLine();
|
grid.nextLine();
|
||||||
|
|
||||||
|
if (LCD_W < LCD_H) grid.nextLine();
|
||||||
|
|
||||||
// Sensors
|
// Sensors
|
||||||
grid.setLabelWidth(140);
|
grid.setLabelWidth(140);
|
||||||
|
|||||||
Reference in New Issue
Block a user