From 457b271c86a5e0b9e02add30d60b4383ea1d6378 Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 14 Mar 2017 11:33:19 +0100 Subject: [PATCH] Fine tune 6 pos dispay on main view (#4610) * Fine tune 6 pos dispay on main view * Fine tune after real radio tests --- radio/src/gui/480x272/widgets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/gui/480x272/widgets.cpp b/radio/src/gui/480x272/widgets.cpp index 8a908db37..bcbd61895 100644 --- a/radio/src/gui/480x272/widgets.cpp +++ b/radio/src/gui/480x272/widgets.cpp @@ -285,9 +285,9 @@ void drawHorizontalSlider(coord_t x, coord_t y, int len, int val, int min, int m drawHorizontalTrimPosition(x, y - 1, val); } else if (options & OPTION_SLIDER_NUMBER_BUTTON) { - drawTrimSquare(x, y - 1); + drawTrimSquare(x+2, y - 1); char text[] = { (char)('0' + val), '\0' }; - lcdDrawText(x + 5, y - 1, text, SMLSIZE | CENTERED | TEXT_INVERTED_COLOR); + lcdDrawText(x + 7, y - 1, text, SMLSIZE | CENTERED | TEXT_INVERTED_COLOR); } else if (options & OPTION_SLIDER_SQUARE_BUTTON) { drawTrimSquare(x, y - 1);