summaryrefslogtreecommitdiff
path: root/plugingui/button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/button.cc')
-rw-r--r--plugingui/button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/button.cc b/plugingui/button.cc
index 0e42e27..b65f318 100644
--- a/plugingui/button.cc
+++ b/plugingui/button.cc
@@ -95,7 +95,7 @@ void GUI::Button::repaintEvent(GUI::RepaintEvent *e)
Font font;
p.setColour(Colour(0.9, alpha));
p.drawText(width()/2-(text.length()*3)+(state==up?0:1),
- height()/2+4+(state==up?0:1), font, text);
+ height()/2+5+(state==up?0:1), font, text);
}
void GUI::Button::setText(std::string text)