summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/color_picker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 827be69..026ae82 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -250,7 +250,7 @@ static void draw_screen(struct screen *display, char *title,
/* Draw label */
buf[0] = str(LANG_COLOR_RGB_LABELS)[i];
buf[1] = '\0';
- display->putsxy(slider_left - display->getcharwidth() -
+ display->putsxy(slider_left - max_label_width -
SLIDER_MARGIN_LEFT, text_top, buf);
/* Draw color value */