diff options
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 70ed7fe8..00490d31 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -120,16 +120,12 @@ ServerDialog::ServerDialog(LoginData *loginData): place(0, 0, serverLabel); place(0, 1, portLabel); - place(1, 0, mServerNameField, 3).setPadding(3); - place(1, 1, mPortField, 3).setPadding(3); - place(0, 2, mMostUsedServersDropDown, 4).setPadding(3); + place(1, 0, mServerNameField, 3).setPadding(2); + place(1, 1, mPortField, 3).setPadding(2); + place(0, 2, mMostUsedServersDropDown, 4).setPadding(2); place(2, 3, mOkButton); place(3, 3, mCancelButton); - Layout &layout = getLayout(); - layout.setWidth(250); - layout.setColWidth(1, Layout::FILL); - reflowLayout(); - forgetLayout(); + reflowLayout(250, 0); setLocationRelativeTo(getParent()); setVisible(true); |