diff options
author | Ira Rice <irarice@gmail.com> | 2008-11-06 19:12:24 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-11-06 19:12:24 +0000 |
commit | 38360d3cd26b61a5162b8ec5b526de19e39835f9 (patch) | |
tree | 2608cbd2f34873f938e4d5abf0b65f104005b8a1 /src | |
parent | 0db6dce98d9c07b569dd29207979818f114f7a32 (diff) | |
download | mana-client-38360d3cd26b61a5162b8ec5b526de19e39835f9.tar.gz mana-client-38360d3cd26b61a5162b8ec5b526de19e39835f9.tar.bz2 mana-client-38360d3cd26b61a5162b8ec5b526de19e39835f9.tar.xz mana-client-38360d3cd26b61a5162b8ec5b526de19e39835f9.zip |
Minor interface cleanup. Moved the login selection scrollbox so that it
aligns up with the other fields.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/login.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index dd64cf1b..0cdb4656 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -51,6 +51,7 @@ LoginDialog::LoginDialog(LoginData *loginData): gcn::Label *passLabel = new gcn::Label("Password:"); gcn::Label *serverLabel = new gcn::Label("Server:"); gcn::Label *portLabel = new gcn::Label("Port:"); + gcn::Label *dropdownLabel = new gcn::Label("Recent:"); std::vector<std::string> dfltServer; dfltServer.push_back("www.aethyra.org"); dfltServer.push_back("www.aethyra.org"); @@ -98,7 +99,8 @@ LoginDialog::LoginDialog(LoginData *loginData): mPortField->setWidth(FIELD_WIDTH); const int DROP_DOWN_TOP = 9 + PORT_TOP + serverLabel->getHeight(); - mServerDropDown->setPosition(5, DROP_DOWN_TOP); + dropdownLabel->setPosition(5, DROP_DOWN_TOP); + mServerDropDown->setPosition(65, DROP_DOWN_TOP); mServerDropDown->setWidth(FIELD_WIDTH); const int REST_TOP = LOGIN_DIALOG_HEIGHT - mCancelButton->getHeight() - 5; @@ -132,6 +134,7 @@ LoginDialog::LoginDialog(LoginData *loginData): add(passLabel); add(serverLabel); add(portLabel); + add(dropdownLabel); add(mUserField); add(mPassField); add(mServerField); |