summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/logindialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index c69560c38..d5cfd7ca7 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -223,12 +223,11 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName,
addKeyListener(this);
if (mUpdateHostLabel)
- setContentSize(300, 250);
+ setContentSize(310, 250);
else
- setContentSize(300, 200);
-
- reflowLayout(300);
+ setContentSize(310, 200);
+ reflowLayout();
center();
setVisible(true);