summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.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/ministatuswindow.cpp
parente1fd136f61a0f28263098299d7d956bf42a15b32 (diff)
downloadmanaverse-20a530182719a356135ba91d1b453ae7fac500f4.tar.gz
manaverse-20a530182719a356135ba91d1b453ae7fac500f4.tar.bz2
manaverse-20a530182719a356135ba91d1b453ae7fac500f4.tar.xz
manaverse-20a530182719a356135ba91d1b453ae7fac500f4.zip
Change a bit some windows sizes for drawing big size fonts.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r--src/gui/ministatuswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp
index 9a06ac259..3450adeb4 100644
--- a/src/gui/ministatuswindow.cpp
+++ b/src/gui/ministatuswindow.cpp
@@ -83,7 +83,8 @@ MiniStatusWindow::MiniStatusWindow() :
mArrowsBar(createBar(0, 50, 0, Theme::PROG_INVY_SLOTS,
// TRANSLATORS: status bar name
"arrows bar", _("arrows bar"))),
- mStatusBar(createBar(100, 165, 0, Theme::PROG_EXP,
+ mStatusBar(createBar(100, (config.getIntValue("fontSize") > 16
+ ? 250 : 165), 0, Theme::PROG_EXP,
// TRANSLATORS: status bar name
"status bar", _("status bar"))),
mTextPopup(new TextPopup),