Mercurial > hg > svgui
diff widgets/PluginPathConfigurator.cpp @ 1297:bc8134fb9752 plugin-path-config
Minor improvement to (still nasty) button layout on OSX
author | Chris Cannam |
---|---|
date | Fri, 08 Jun 2018 15:11:11 +0100 |
parents | 34b941921ac8 |
children | f24f64e441ac |
line wrap: on
line diff
--- 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;