summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
commitf55baadfeb6245899497cd472f65f23e905481b9 (patch)
treed5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/logindialog.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadmanaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
manaverse-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index 1ae102b42..f9f63fef3 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -148,26 +148,26 @@ LoginDialog::LoginDialog(LoginData &data,
mUserField->addActionListener(this);
mPassField->addActionListener(this);
- place(0, 0, serverLabel1);
- place(1, 0, serverLabel2, 8);
- place(0, 1, userLabel);
- place(1, 1, mUserField, 8);
- place(0, 2, passLabel);
- place(1, 2, mPassField, 8);
- place(0, 6, mUpdateTypeLabel, 1);
- place(1, 6, mUpdateTypeDropDown, 8);
+ place(0, 0, serverLabel1, 1, 1);
+ place(1, 0, serverLabel2, 8, 1);
+ place(0, 1, userLabel, 1, 1);
+ place(1, 1, mUserField, 8, 1);
+ place(0, 2, passLabel, 1, 1);
+ place(1, 2, mPassField, 8, 1);
+ place(0, 6, mUpdateTypeLabel, 1, 1);
+ place(1, 6, mUpdateTypeDropDown, 8, 1);
int n = 7;
if (mUpdateHostDropDown != nullptr)
{
- place(0, 7, mUpdateHostDropDown, 9);
+ place(0, 7, mUpdateHostDropDown, 9, 1);
n += 1;
}
- place(0, n, mCustomUpdateHost, 9);
- place(0, n + 1, mUpdateHostText, 9);
- place(0, n + 2, mKeepCheck, 9);
- place(0, n + 3, mRegisterButton).setHAlign(LayoutCell::LEFT);
- place(2, n + 3, mServerButton);
- place(3, n + 3, mLoginButton);
+ place(0, n, mCustomUpdateHost, 9, 1);
+ place(0, n + 1, mUpdateHostText, 9, 1);
+ place(0, n + 2, mKeepCheck, 9, 1);
+ place(0, n + 3, mRegisterButton, 1, 1).setHAlign(LayoutCell::LEFT);
+ place(2, n + 3, mServerButton, 1, 1);
+ place(3, n + 3, mLoginButton, 1, 1);
addKeyListener(this);
}