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.
How to change QPushButton icon size using stylesheets in Qt app
Asked Answered
Use the following code in stylesheet:
qproperty-iconSize: 24px;
You could do:
qproperty-icon: url(":/img/favourit.png");
qproperty-iconSize: 14px;
© 2022 - 2024 — McMap. All rights reserved.
icon-size: 24px;
. – Ic