summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 6b10d5a9..e9e8609b 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -67,7 +67,7 @@ CharSelectDialog::CharSelectDialog():
int w = 195;
int h = 195;
- setSize(w, h);
+ setContentSize(w, h);
playerBox->setDimension(gcn::Rectangle(5, 5, w - 10, 90));
nameLabel->setDimension(gcn::Rectangle(10, 100, 128, 16));
levelLabel->setDimension(gcn::Rectangle(10, 116, 128, 16));
@@ -268,7 +268,7 @@ CharCreateDialog::CharCreateDialog(Window *parent):
int w = 200;
int h = 150;
- setSize(w, h);
+ setContentSize(w, h);
playerBox->setDimension(gcn::Rectangle(80, 30, 110, 85));
nameLabel->setPosition(5, 5);
nameField->setDimension(