From 42e8d45830ce99f461d171f1fc6202f89bd81a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Thu, 15 Apr 2010 21:22:25 +0200 Subject: Tweak login window spacing. 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("User address"); @@ -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 -- cgit v0.10.2-6-g49f6