summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 6dc2597c..f5e51d8d 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -43,7 +43,7 @@ LoginDialog::LoginDialog():
okButton = new Button("OK");
cancelButton = new Button("Cancel");
- setSize(200, 75);
+ setContentSize(200, 75);
userLabel->setPosition(5, 5);
passLabel->setPosition(5, 14 + userLabel->getHeight());