From 502db4052a1eb6202112b5a32a287882b26f214a Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Mon, 7 Jan 2013 20:27:04 +0000 Subject: [PATCH] UI Nits: Choose Athlete Dialog Buttons .. order of New, Cancel, Open and a bit of stretch to stop ugly elongated buttons. --- src/ChooseCyclistDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChooseCyclistDialog.cpp b/src/ChooseCyclistDialog.cpp index 1751cb8ed..03b28adb7 100644 --- a/src/ChooseCyclistDialog.cpp +++ b/src/ChooseCyclistDialog.cpp @@ -59,10 +59,11 @@ ChooseCyclistDialog::ChooseCyclistDialog(const QDir &home, bool allowNew) : this, SLOT(accept())); QHBoxLayout *buttonLayout = new QHBoxLayout; - buttonLayout->addWidget(okButton); if (allowNew) buttonLayout->addWidget(newButton); + buttonLayout->addStretch(); buttonLayout->addWidget(cancelButton); + buttonLayout->addWidget(okButton); QVBoxLayout *mainLayout = new QVBoxLayout(this); mainLayout->addWidget(listWidget);