From 240a7f3e7ef6b3d5e2ed1dae46d50db49433dac2 Mon Sep 17 00:00:00 2001 From: philmoz Date: Sun, 26 Oct 2025 19:55:20 +1100 Subject: [PATCH] fix(color): top bar buttons overlap close button when editing a theme color (#6727) --- radio/src/gui/colorlcd/radio/radio_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/radio/radio_theme.cpp b/radio/src/gui/colorlcd/radio/radio_theme.cpp index 961398453..de43a0b9f 100644 --- a/radio/src/gui/colorlcd/radio/radio_theme.cpp +++ b/radio/src/gui/colorlcd/radio/radio_theme.cpp @@ -308,7 +308,7 @@ class ColorEditPage : public Page #endif // page tabs - rect_t r = {LCD_W - 2 * (BUTTON_WIDTH + PAD_SMALL + 1), PAD_MEDIUM, BUTTON_WIDTH, 0}; + rect_t r = {LCD_W - 2 * (BUTTON_WIDTH + PAD_SMALL + 1) - EdgeTxStyles::MENU_HEADER_HEIGHT, PAD_MEDIUM, BUTTON_WIDTH, 0}; _tabs.emplace_back(new TextButton(window, r, "RGB", [=]() { setActiveColorBar(0); return 1;