UI: Fix properties tool button styling
Set toolButton to true with the tool buttons in the properties widget.master
parent
c3b0787544
commit
9b13536cfd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue