adding padding to the stylesheet of a QPushbutton disable animation
Posted
by yan bellavance
on Stack Overflow
See other posts from Stack Overflow
or by yan bellavance
Published on 2010-05-27T21:24:52Z
Indexed on
2010/05/27
21:41 UTC
Read the original article
Hit count: 163
qt
When I add padding in a QPushButton's stylesheet the animation doesnt occur during button press,release:
QPushButton{ border: 1px solid green; padding: 2px; border-radius: 4px; }
By that, I mean the button text does not sink in.
Is this normal?
© Stack Overflow or respective owner