Browse Source

UI: Fix properties tool button styling

Set toolButton to true with the tool buttons in the properties widget.
cg2121 3 years ago
parent
commit
9b13536cfd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      UI/properties-view.cpp

+ 1 - 2
UI/properties-view.cpp

@@ -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);