Reputation: 15989
Is it possible to set and change the icon size on a QPushButton using stylesheets? I need this for a qt based template that customers stylize using stylesheets.
Upvotes: 7
Views: 9815
Reputation: 442
You could do:
qproperty-icon: url(":/img/favourit.png");
qproperty-iconSize: 14px;
Upvotes: 0
Reputation: 15989
Use the following code in stylesheet:
qproperty-iconSize: 24px;
Upvotes: 18