mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
UI Nits: Choose Athlete Dialog Buttons
.. order of New, Cancel, Open and a bit of stretch to stop ugly elongated buttons.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user