fix: proper svg icon rendering on hidpi screen.

This commit is contained in:
Chris Xiong
2022-09-29 19:06:51 +08:00
committed by Gary Wang
parent 756d0be32f
commit cc7d58d4ec
7 changed files with 46 additions and 18 deletions
+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;
};