From 08b45d3d6a9880e7ec77b837b5d79beaf318dc0d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 26 Jan 2013 08:52:10 +0100 Subject: Experimental new font renderer. --- plugingui/button.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3