diff options
Diffstat (limited to 'src/gui')
-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() |