diff options
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r-- | gui/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 7b688e1458..b873e32b79 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -141,7 +141,7 @@ void ButtonWidget::handleMouseUp(int x, int y, int button, int clickCount) { void ButtonWidget::drawWidget(bool hilite) { NewGui *gui = &g_gui; - gui->drawString(_label, _x, _y, _w, + gui->drawString(_label, _x, _y + (_h - kLineHeight)/2 + 1, _w, !isEnabled() ? gui->_color : hilite ? gui->_textcolorhi : gui->_textcolor, _align); } |