summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-16 13:16:23 -0700
committerIra Rice <irarice@gmail.com>2009-01-16 13:16:23 -0700
commit02010c3e8e2ee08bf49b360fd091dd8b2abc6b15 (patch)
treee1f626f1bb14079f52aff54c65afee2ac7e98c7b /src/gui/login.cpp
parentbc5b68fffde0f06095bdbc2dfe3fc70ce6b8c43e (diff)
downloadmana-02010c3e8e2ee08bf49b360fd091dd8b2abc6b15.tar.gz
mana-02010c3e8e2ee08bf49b360fd091dd8b2abc6b15.tar.bz2
mana-02010c3e8e2ee08bf49b360fd091dd8b2abc6b15.tar.xz
mana-02010c3e8e2ee08bf49b360fd091dd8b2abc6b15.zip
Some small layout tweaks, as well as making a few dialogs more
consistent UI-wise (continue-like functionality is always in the bottom right corner, with canceling to the left of it). Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index bba69754..eddae739 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -99,15 +99,15 @@ LoginDialog::LoginDialog(LoginData *loginData):
place(0, 2, serverLabel);
place(0, 3, portLabel);
place(0, 4, dropdownLabel);
- place(1, 0, mUserField, 3).setPadding(2);
- place(1, 1, mPassField, 3).setPadding(2);
- place(1, 2, mServerField, 3).setPadding(2);
- place(1, 3, mPortField, 3).setPadding(2);
- place(1, 4, mServerDropDown, 3).setPadding(2);
+ place(1, 0, mUserField, 3).setPadding(1);
+ place(1, 1, mPassField, 3).setPadding(1);
+ place(1, 2, mServerField, 3).setPadding(1);
+ place(1, 3, mPortField, 3).setPadding(1);
+ place(1, 4, mServerDropDown, 3).setPadding(1);
place(0, 5, mKeepCheck, 4);
place(0, 6, mRegisterButton).setHAlign(LayoutCell::LEFT);
- place(2, 6, mOkButton);
- place(3, 6, mCancelButton);
+ place(2, 6, mCancelButton);
+ place(3, 6, mOkButton);
reflowLayout(250, 0);
setLocationRelativeTo(getParent());