summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_input.cpp')
-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()