# HG changeset patch # User Chris Cannam # Date 1528467071 -3600 # Node ID bc8134fb975242899e6c91a98acbe07ff56df0cb # Parent 34b941921ac866cf3cd52e28c03d91257122c0b0 Minor improvement to (still nasty) button layout on OSX diff -r 34b941921ac8 -r bc8134fb9752 widgets/PluginPathConfigurator.cpp --- a/widgets/PluginPathConfigurator.cpp Fri Jun 08 14:31:47 2018 +0100 +++ b/widgets/PluginPathConfigurator.cpp Fri Jun 08 15:11:11 2018 +0100 @@ -66,6 +66,13 @@ connect(m_reset, SIGNAL(clicked()), this, SLOT(resetClicked())); buttons->addWidget(m_reset); + buttons->addStretch(50); + + m_seePlugins = new QPushButton; + m_seePlugins->setText(tr("Review plugins...")); + connect(m_seePlugins, SIGNAL(clicked()), this, SLOT(seePluginsClicked())); + buttons->addWidget(m_seePlugins); + int row = 0; m_header = new QLabel; @@ -87,12 +94,7 @@ this, SLOT(currentLocationChanged(int))); ++row; - m_layout->addLayout(buttons, row, 0, 1, 2, Qt::AlignLeft); - - m_seePlugins = new QPushButton; - m_seePlugins->setText(tr("Review plugins...")); - connect(m_seePlugins, SIGNAL(clicked()), this, SLOT(seePluginsClicked())); - m_layout->addWidget(m_seePlugins, row, 2); + m_layout->addLayout(buttons, row, 0, 1, 3); ++row;