From a5d6ded17d979404d5b6e18573f35c99abaf97fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Apr 2012 15:30:00 +0300 Subject: Increase input settings tab width. --- src/gui/setup_input.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2