fix: proper svg icon rendering on hidpi screen.

This commit is contained in:
Chris Xiong authored and Gary Wang committed 2022-09-29 19:06:51 +08:00
1 parent 756d0be32f
commit cc7d58d4ec
7 files changed
+46 -18

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ BottomButtonGroup::BottomButtonGroup(const std::vector<QAction *> &actionList, Q
auto newActionBtn = [this](QAction * action) -> QToolButton * {
QToolButton * btn = new QToolButton(this);
btn->setDefaultAction(action);
btn->setIconSize(QSize(40, 40));
btn->setIconSize(QSize(32, 32));
btn->setFixedSize(40, 40);
return btn;
};