Default Toolbar icon size too big on macx.
--HG-- branch : release
This commit is contained in:
parent
a233d37317
commit
47c7609ebb
|
@ -135,6 +135,15 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
|
|
||||||
setCurrentFile("");
|
setCurrentFile("");
|
||||||
WindowsLocale();
|
WindowsLocale();
|
||||||
|
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
|
// On Mac deafault icon size is 32x32.
|
||||||
|
ui->toolBarArrows->setIconSize(QSize(24, 24));
|
||||||
|
ui->toolBarDraws->setIconSize(QSize(24, 24));
|
||||||
|
ui->toolBarOption->setIconSize(QSize(24, 24));
|
||||||
|
ui->toolBarStages->setIconSize(QSize(24, 24));
|
||||||
|
ui->toolBarTools->setIconSize(QSize(24, 24));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -78,6 +78,11 @@ TableWindow::TableWindow(QWidget *parent)
|
||||||
connect(ui->actionSave, &QAction::triggered, this, &TableWindow::SaveLayout);
|
connect(ui->actionSave, &QAction::triggered, this, &TableWindow::SaveLayout);
|
||||||
connect(ui->actionLayout, &QAction::triggered, this, &TableWindow::Layout);
|
connect(ui->actionLayout, &QAction::triggered, this, &TableWindow::Layout);
|
||||||
connect(ui->listWidget, &QListWidget::currentRowChanged, this, &TableWindow::ShowPaper);
|
connect(ui->listWidget, &QListWidget::currentRowChanged, this, &TableWindow::ShowPaper);
|
||||||
|
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
|
// On Mac deafault icon size is 32x32.
|
||||||
|
ui->toolBar->setIconSize(QSize(24, 24));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user