summaryrefslogtreecommitdiff
path: root/src/gui/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
commit066488a6f4d086b57f4fe32e8799c207552cccb7 (patch)
tree2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/logindialog.cpp
parent0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff)
downloadManaVerse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz
ManaVerse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2
ManaVerse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz
ManaVerse-066488a6f4d086b57f4fe32e8799c207552cccb7.zip
Add theming to labels.
New theme file: label.xml Parameters: padding
Diffstat (limited to 'src/gui/logindialog.cpp')
-rw-r--r--src/gui/logindialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index cbdc657bb..f155d7293 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -139,11 +139,11 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName,
mUpdateHost(updateHost),
mServerName(serverName)
{
- gcn::Label *const serverLabel1 = new Label(_("Server:"));
- gcn::Label *const serverLabel2 = new Label(serverName);
+ Label *const serverLabel1 = new Label(_("Server:"));
+ Label *const serverLabel2 = new Label(serverName);
serverLabel2->adjustSize();
- gcn::Label *const userLabel = new Label(_("Name:"));
- gcn::Label *const passLabel = new Label(_("Password:"));
+ Label *const userLabel = new Label(_("Name:"));
+ Label *const passLabel = new Label(_("Password:"));
if (mLoginData && mLoginData->updateHosts.size() > 1)
{
mUpdateHostLabel = new Label(strprintf(_("Update host: %s"),