summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-25 17:08:56 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-25 17:09:56 +0100
commit94ee1b206d81fc577d1374a20f4bfde07abd7532 (patch)
tree6d53e55edf9d2ee9e9ef24459a6628400cb88c30 /src/gui/setup.cpp
parent17d2756975a8ff22ecba92c055fa7a7f77d425c6 (diff)
downloadmana-client-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.gz
mana-client-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.bz2
mana-client-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.xz
mana-client-94ee1b206d81fc577d1374a20f4bfde07abd7532.zip
Synchronized setup dialog size with Aethyra
Hopefully fixes some layout issues on Windows.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 3d31f0db..d38fb2e3 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <algorithm>
-
#include "setup.h"
#include "button.h"
@@ -35,6 +33,7 @@
#include "../utils/dtor.h"
#include "../utils/gettext.h"
+#include <algorithm>
#include <iostream>
extern Window *statusWindow;
@@ -52,7 +51,7 @@ Setup::Setup():
{
setCloseButton(true);
int width = 310;
- int height = 265;
+ int height = 310;
setContentSize(width, height);
static const char *buttonNames[] = {
@@ -71,7 +70,7 @@ Setup::Setup():
}
TabbedArea *panel = new TabbedArea();
- panel->setDimension(gcn::Rectangle(5, 5, 280, 225));
+ panel->setDimension(gcn::Rectangle(5, 5, width - 10, height - 40));
SetupTab *tab;