From c20081427661a5c501e953ebf495f4c99b60ca43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Apr 2013 00:45:35 +0300 Subject: Fix login dialog width in some localisations. --- src/gui/logindialog.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/gui/logindialog.cpp') 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); -- cgit v1.2.3-70-g09d2