summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-15 19:22:25 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-15 19:23:26 (GMT)
commit42e8d45830ce99f461d171f1fc6202f89bd81a89 (patch)
tree2dc476568fa1e210f186cbad70cef954a5012500
parent7123d5093512e75f39d7adc7477c71d628abcb75 (diff)
downloadswift-contrib-42e8d45830ce99f461d171f1fc6202f89bd81a89.zip
swift-contrib-42e8d45830ce99f461d171f1fc6202f89bd81a89.tar.bz2
Tweak login window spacing.
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 794f993..cee798f 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -56,7 +56,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
logo->setScaledContents(true);
logo->setFixedSize(192,192);
layout->addWidget(logo);
- layout->addStretch();
+ layout->addStretch(2);
QLabel* jidLabel = new QLabel(this);
jidLabel->setText("<font size='-1'>User address</font>");
@@ -103,14 +103,12 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
message_->setWordWrap(true);
layout->addWidget(message_);
- layout->addStretch();
+ layout->addStretch(2);
remember_ = new QCheckBox(tr("Remember Password?"), this);
layout->addWidget(remember_);
loginAutomatically_ = new QCheckBox(tr("Login Automatically?"), this);
layout->addWidget(loginAutomatically_);
- layout->addStretch(2);
-
connect(loginButton_, SIGNAL(clicked()), SLOT(loginClicked()));
stack_->addWidget(wrapperWidget);
#ifdef SWIFTEN_PLATFORM_MACOSX