summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.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/editserverdialog.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/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index 37683caf5..692fe8287 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -92,24 +92,24 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
mServerAddressField->addActionListener(this);
mPortField->addActionListener(this);
- place(0, 0, nameLabel);
- place(1, 0, mNameField, 4).setPadding(3);
- place(0, 1, serverAdressLabel);
- place(1, 1, mServerAddressField, 4).setPadding(3);
- place(0, 2, portLabel);
- place(1, 2, mPortField, 4).setPadding(3);
- place(0, 3, typeLabel);
- place(1, 3, mTypeField).setPadding(3);
- place(0, 4, descriptionLabel);
- place(1, 4, mDescriptionField, 4).setPadding(3);
- place(0, 5, onlineListUrlLabel);
- place(1, 5, mOnlineListUrlField, 4).setPadding(3);
- place(0, 6, packetVersionLabel);
- place(1, 6, mPacketVersionField, 4).setPadding(3);
- place(0, 7, mPersistentIp, 4).setPadding(3);
- place(0, 8, mConnectButton);
- place(4, 8, mOkButton);
- place(3, 8, mCancelButton);
+ place(0, 0, nameLabel, 1, 1);
+ place(1, 0, mNameField, 4, 1).setPadding(3);
+ place(0, 1, serverAdressLabel, 1, 1);
+ place(1, 1, mServerAddressField, 4, 1).setPadding(3);
+ place(0, 2, portLabel, 1, 1);
+ place(1, 2, mPortField, 4, 1).setPadding(3);
+ place(0, 3, typeLabel, 1, 1);
+ place(1, 3, mTypeField, 1, 1).setPadding(3);
+ place(0, 4, descriptionLabel, 1, 1);
+ place(1, 4, mDescriptionField, 4, 1).setPadding(3);
+ place(0, 5, onlineListUrlLabel, 1, 1);
+ place(1, 5, mOnlineListUrlField, 4, 1).setPadding(3);
+ place(0, 6, packetVersionLabel, 1, 1);
+ place(1, 6, mPacketVersionField, 4, 1).setPadding(3);
+ place(0, 7, mPersistentIp, 4, 1).setPadding(3);
+ place(0, 8, mConnectButton, 1, 1);
+ place(4, 8, mOkButton, 1, 1);
+ place(3, 8, mCancelButton, 1, 1);
// Do this manually instead of calling reflowLayout so we can enforce a
// minimum width.