diff options
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r-- | src/gui/skilldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index deefdbd77..8718cc470 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -102,7 +102,7 @@ class SkillListBox final : public ListBox mTextPadding(mSkin ? mSkin->getOption("textPadding", 34) : 34), mSpacing(mSkin ? mSkin->getOption("spacing", 0) : 0) { - mRowHeight = mainGraphics->getFont()->getHeight() * 2 + mRowHeight = getFont()->getHeight() * 2 + mSpacing + 2 * mPadding; if (mRowHeight < 34) mRowHeight = 34; |