summaryrefslogtreecommitdiff
path: root/src/gui/widgets/characterviewnormal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/characterviewnormal.cpp')
-rw-r--r--src/gui/widgets/characterviewnormal.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp
index f197ea343..11b630099 100644
--- a/src/gui/widgets/characterviewnormal.cpp
+++ b/src/gui/widgets/characterviewnormal.cpp
@@ -48,10 +48,7 @@ CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget,
}
const CharacterDisplay *const firtChar = (*mCharacterEntries)[0];
setWidth(firtChar->getWidth() * 5 + mPadding * 2);
- if (config.getIntValue("fontSize") > 16)
- setHeight(250);
- else
- setHeight(220);
+ setHeight(210 + config.getIntValue("fontSize") * 2);
}
CharacterViewNormal::~CharacterViewNormal()