From f5c13fca3863b2871ac20f9937bce4eb45c4a94c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Oct 2012 03:59:03 +0300 Subject: Fix login dialog size in some themes. --- src/gui/logindialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/logindialog.cpp') diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp index 8100bbb5b..6fba82fb0 100644 --- a/src/gui/logindialog.cpp +++ b/src/gui/logindialog.cpp @@ -209,6 +209,8 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName, else setContentSize(300, 200); + reflowLayout(300); + center(); setVisible(true); -- cgit v1.2.3-70-g09d2