How to add some padding between QPushButton's boundary and its inner text?
-
Longer strings don't look too good in a QPushButton, because there's no spacing between the text and button's frame, i. e. the text is placed tightly within the button. Is there a way to add some padding?
-
Have you tried with css? With the padding property?
-
I actually haven't, totally forgot about CSS styling possibility. Thank you.
-
Your welcome :)
-
Is there any way to set a stylesheet in Qt Designer? So that I could see the actual UI in design time?
-
In property browser find styleSheet property.