diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 16:20:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:05 +0300 |
commit | fa0ef1ff62b23e830c70f6168f6256a1937b8195 (patch) | |
tree | 3a81237a324839d7bff56ceac3c388a32b16b6ae /src/gui/skilldialog.cpp | |
parent | 697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce (diff) | |
download | manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.gz manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.bz2 manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.xz manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.zip |
Fix font usage in some controls.
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; |