summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 22:26:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 22:26:24 +0300
commit20a530182719a356135ba91d1b453ae7fac500f4 (patch)
tree3d138bde802bb0a1ce29d8426d6c8eb441f700ba /src/gui/charselectdialog.cpp
parente1fd136f61a0f28263098299d7d956bf42a15b32 (diff)
downloadmv-20a530182719a356135ba91d1b453ae7fac500f4.tar.gz
mv-20a530182719a356135ba91d1b453ae7fac500f4.tar.bz2
mv-20a530182719a356135ba91d1b453ae7fac500f4.tar.xz
mv-20a530182719a356135ba91d1b453ae7fac500f4.zip
Change a bit some windows sizes for drawing big size fonts.
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 63f1524c8..9b96c77c0 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -23,6 +23,7 @@
#include "gui/charselectdialog.h"
#include "client.h"
+#include "configuration.h"
#include "units.h"
#include "keyevent.h"
@@ -164,7 +165,10 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
mCharacterView = new CharacterViewNormal(
this, &mCharacterEntries, mPadding);
placer(0, 1, mCharacterView, 10);
- reflowLayout(410 + 2 * mPadding);
+ if (config.getIntValue("fontSize") > 18)
+ reflowLayout(500 + 2 * mPadding);
+ else
+ reflowLayout(410 + 2 * mPadding);
}
else
{