mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Set minimum width to 0 on MacOS, and limit maximum width to 40 also on Linux.
This commit is contained in:
parent
8a6a8e8bdf
commit
ec1e521ba7
@ -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<QString>::finished, [this] {
|
||||
|
Loading…
Reference in New Issue
Block a user