diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-18 14:23:46 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-18 14:23:46 +0200 |
| commit | e539da6b97191ea72cac3fd2df1c1f5b014791d6 (patch) | |
| tree | baa30be73d7ab5da0b2bd16ec87e4b758195f7f8 /src/widget/widget_label.c | |
| parent | 0830da6f5b999a1b90144eddeb5f9379628728ce (diff) | |
fix bug with statistic bad text alignment
Diffstat (limited to 'src/widget/widget_label.c')
| -rw-r--r-- | src/widget/widget_label.c | 2 |
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); |