diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-26 08:52:06 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-26 08:52:06 +0100 |
commit | 2acc10e603353ec6d520654b448f789a61bd6185 (patch) | |
tree | e61afaa1d7f128679aed10ed8ff48e2e3f93ef8c /plugingui/lineedit.cc | |
parent | be628876b0515ceee40946e923771e1b40d6641b (diff) |
Experimental new font renderer.
Diffstat (limited to 'plugingui/lineedit.cc')
-rw-r--r-- | plugingui/lineedit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc index 5b0336f..033acd1 100644 --- a/plugingui/lineedit.cc +++ b/plugingui/lineedit.cc @@ -111,7 +111,7 @@ void GUI::LineEdit::repaintEvent(GUI::RepaintEvent *e) p.setColour(Colour(1,1,1)); p.drawRectangle(0,0,width()-1,height()-1); p.drawRectangle(2,2,width()-3,height()-3); - p.drawText(BORDER, height()/2+4, font, _text); + p.drawText(BORDER, height()/2+5, font, _text); if(hasKeyboardFocus()) { size_t px = font.textWidth(_text.substr(0, pos)); |