summaryrefslogtreecommitdiff
path: root/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/widget_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/widget_label.c b/src/widget/widget_label.c
index 8ef7fad..ecac34f 100644
--- a/src/widget/widget_label.c
+++ b/src/widget/widget_label.c
@@ -31,7 +31,7 @@ void label_draw(widget_t * widget)
switch (p->bind) {
case WIDGET_LABEL_RIGHT:
- font_draw(p->text, widget->x + p->w, widget->y + p->h / 2, COLOR_WHITE);
+ font_draw(p->text, widget->x - p->w, widget->y + p->h / 2, COLOR_WHITE);
break;
case WIDGET_LABEL_LEFT:
font_draw(p->text, widget->x, widget->y + widget->h / 2, COLOR_WHITE);