From fa0ef1ff62b23e830c70f6168f6256a1937b8195 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 16:20:49 +0300 Subject: Fix font usage in some controls. --- src/gui/skilldialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/skilldialog.cpp') 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; -- cgit v1.2.3-70-g09d2