diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-26 08:52:10 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-26 08:52:10 +0100 |
commit | 08b45d3d6a9880e7ec77b837b5d79beaf318dc0d (patch) | |
tree | e688c6d91e1119e29bc497bf71f4a4daba99387b /plugingui/button.cc | |
parent | 2acc10e603353ec6d520654b448f789a61bd6185 (diff) |
Experimental new font renderer.
Diffstat (limited to 'plugingui/button.cc')
-rw-r--r-- | plugingui/button.cc | 2 |
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) |