summaryrefslogtreecommitdiff
path: root/src/gui/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-03 00:45:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-03 00:51:41 +0300
commitc20081427661a5c501e953ebf495f4c99b60ca43 (patch)
tree5a32c54667eccf000715f92fb210464ea9e43a69 /src/gui/logindialog.cpp
parent74b1ae8e97a127f7efbd449ad7c0f0d2a88aad1c (diff)
downloadManaVerse-c20081427661a5c501e953ebf495f4c99b60ca43.tar.gz
ManaVerse-c20081427661a5c501e953ebf495f4c99b60ca43.tar.bz2
ManaVerse-c20081427661a5c501e953ebf495f4c99b60ca43.tar.xz
ManaVerse-c20081427661a5c501e953ebf495f4c99b60ca43.zip
Fix login dialog width in some localisations.
Diffstat (limited to 'src/gui/logindialog.cpp')
-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);