summaryrefslogtreecommitdiff
path: root/src/gui/setup_players.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_players.cpp
parent17d2756975a8ff22ecba92c055fa7a7f77d425c6 (diff)
downloadmana-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.gz
mana-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.bz2
mana-94ee1b206d81fc577d1374a20f4bfde07abd7532.tar.xz
mana-94ee1b206d81fc577d1374a20f4bfde07abd7532.zip
Synchronized setup dialog size with Aethyra
Hopefully fixes some layout issues on Windows.
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r--src/gui/setup_players.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp
index 30ad5f81..1d8649eb 100644
--- a/src/gui/setup_players.cpp
+++ b/src/gui/setup_players.cpp
@@ -46,7 +46,7 @@
#define ROW_HEIGHT 12
// The following column widths really shouldn't be hardcoded but should scale with the size of the widget... except
// that, right now, the widget doesn't exactly scale either.
-#define NAME_COLUMN_WIDTH 155
+#define NAME_COLUMN_WIDTH 195
#define RELATION_CHOICE_COLUMN_WIDTH 80
#define WIDGET_AT(row, column) (((row) * COLUMNS_NR) + column)
@@ -280,7 +280,7 @@ Setup_Players::Setup_Players():
player_relations.addListener(this);
- setDimension(gcn::Rectangle(0, 0, 250, 200));
+ setDimension(gcn::Rectangle(0, 0, 290, 250));
}
Setup_Players::~Setup_Players()