diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/extendedlistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/extendedlistbox.cpp b/src/gui/widgets/extendedlistbox.cpp index accb52ddc..3126b14b0 100644 --- a/src/gui/widgets/extendedlistbox.cpp +++ b/src/gui/widgets/extendedlistbox.cpp @@ -75,7 +75,7 @@ void ExtendedListBox::draw(gcn::Graphics *graphics) const int height = getRowHeight(); const int pad2 = 2 + mPadding; - int textPos = (height - font->getHeight()) / pad2; + int textPos = (height - font->getHeight()) / 2 + mPadding; if (textPos < 0) textPos = 0; |