summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-26 15:30:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-26 15:30:00 +0300
commita5d6ded17d979404d5b6e18573f35c99abaf97fb (patch)
treefd587ca92f53dd14de9cb77a88b2bc8ce802f340 /src
parentc9fbec38d8a9da8ae234005849e31a35e23a8559 (diff)
downloadmanaplus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.gz
manaplus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.bz2
manaplus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.xz
manaplus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.zip
Increase input settings tab width.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_input.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp
index b1054fac3..6dc8c2528 100644
--- a/src/gui/setup_input.cpp
+++ b/src/gui/setup_input.cpp
@@ -158,7 +158,11 @@ Setup_Input::Setup_Input():
place(3, 6, mUnassignKeyButton);
place(4, 6, mDefaultButton);
- setDimension(gcn::Rectangle(0, 0, 500, 350));
+ int width = 600;
+ if (config.getIntValue("screenwidth") >= 730)
+ width += 100;
+
+ setDimension(gcn::Rectangle(0, 0, width, 300));
}
Setup_Input::~Setup_Input()