Replies: 1 comment
-
There's no built-in CSS-like mechanism to do this. A subclassed widget that overrides the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
In your opinion, what is the best approach to change the style of a button (let say the background color) based on it's
enabled
property?There is some CSS-like way, or is it better to just overwrite the default enabled.setter, or I'm missing some easy way😅?
At current time I'm simply using:
Every time.
Any suggestion? Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions