fix(gui): vertical tab title alignment on color lcd radios fixed (#2402)

This commit is contained in:
Malte Langermann
2022-09-28 21:13:29 +10:00
committed by GitHub
parent 74349cb371
commit 6b17c26610
2 changed files with 2 additions and 2 deletions
@@ -222,7 +222,7 @@ class Theme480: public OpenTxTheme
dc->drawSolidFilledRect(0, MENU_TITLE_TOP, LCD_W, MENU_TITLE_HEIGHT,
COLOR_THEME_SECONDARY1); // the title line background
if (title) {
dc->drawText(MENUS_MARGIN_LEFT, MENU_TITLE_TOP + 3, title, COLOR_THEME_PRIMARY2);
dc->drawText(MENUS_MARGIN_LEFT, MENU_TITLE_TOP + 1, title, COLOR_THEME_PRIMARY2);
}
drawMenuDatetime(dc);
+1 -1
View File
@@ -352,7 +352,7 @@ class FlyskyTheme: public OpenTxTheme
COLOR_THEME_SECONDARY1); // the title line background
//
if (title) {
dc->drawText(MENUS_MARGIN_LEFT, MENU_TITLE_TOP + 2, title, COLOR_THEME_SECONDARY1);
dc->drawText(MENUS_MARGIN_LEFT, MENU_TITLE_TOP + 1, title, COLOR_THEME_SECONDARY1);
}
}