diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-26 15:30:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-26 15:30:00 +0300 |
commit | a5d6ded17d979404d5b6e18573f35c99abaf97fb (patch) | |
tree | fd587ca92f53dd14de9cb77a88b2bc8ce802f340 | |
parent | c9fbec38d8a9da8ae234005849e31a35e23a8559 (diff) | |
download | plus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.gz plus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.bz2 plus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.tar.xz plus-a5d6ded17d979404d5b6e18573f35c99abaf97fb.zip |
Increase input settings tab width.
-rw-r--r-- | src/gui/setup_input.cpp | 6 |
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() |