diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index a83391636..a014cc37b 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -745,7 +745,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, } }); -#if defined(Q_OS_WIN) +#if !defined(Q_OS_MAC) // ensure a balanced layout of the mode buttons both on Windos and MacOS ui->houndButton->setMaximumWidth(40); ui->ft8Button->setMaximumWidth(40); @@ -755,6 +755,15 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, ui->jt65Button->setMaximumWidth(40); #endif +#if defined(Q_OS_MAC) + // ensure a balanced layout of the mode buttons both on Windos and MacOS + ui->houndButton->setMinimumWidth(0); + ui->ft8Button->setMinimumWidth(0); + ui->ft4Button->setMinimumWidth(0); + ui->msk144Button->setMinimumWidth(0); + ui->q65Button->setMinimumWidth(0); + ui->jt65Button->setMinimumWidth(0); +#endif // hook up save WAV file exit handling connect (&m_saveWAVWatcher, &QFutureWatcher::finished, [this] {