summaryrefslogtreecommitdiff
path: root/plugingui/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/label.cc')
-rw-r--r--plugingui/label.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/label.cc b/plugingui/label.cc
index 1d2eb93..bb0bb4d 100644
--- a/plugingui/label.cc
+++ b/plugingui/label.cc
@@ -47,10 +47,11 @@ void GUI::Label::repaintEvent(GUI::RepaintEvent *e)
{
// printf("Label::repaintEvent\n");
Painter p(this);
+
p.setColour(Colour(1));
Font font;
- p.drawText(10, height() / 2 + 5, font, _text);
+ p.drawText(10, (height() + font.textHeight()) / 2, font, _text);
}