UI: Fix properties tool button styling

Set toolButton to true with the tool buttons in the properties widget.
master
cg2121 2022-08-29 20:54:46 -05:00 committed by Ryan Foster
parent c3b0787544
commit 9b13536cfd
1 changed files with 1 additions and 2 deletions

View File

@ -636,8 +636,7 @@ static void NewButton(QLayout *layout, WidgetInfo *info, const char *themeIcon,
QPushButton *button = new QPushButton();
button->setProperty("themeID", themeIcon);
button->setFlat(true);
button->setMaximumSize(22, 22);
button->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
button->setProperty("toolButton", true);
QObject::connect(button, &QPushButton::clicked, info, method);