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();
|
QPushButton *button = new QPushButton();
|
||||||
button->setProperty("themeID", themeIcon);
|
button->setProperty("themeID", themeIcon);
|
||||||
button->setFlat(true);
|
button->setFlat(true);
|
||||||
button->setMaximumSize(22, 22);
|
button->setProperty("toolButton", true);
|
||||||
button->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
|
|
||||||
|
|
||||||
QObject::connect(button, &QPushButton::clicked, info, method);
|
QObject::connect(button, &QPushButton::clicked, info, method);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue