Changing and Resetting Button Colours #376
-
I need to be able to colour a button based on a condition. I know I can do this by sending a command to it e.g, bg_color=red or some other colour. But what I don't know how to do is to then revert that colour back to the theme colour. Is these a reset type command, or a way to read the existing property of an object? Failing that, does anybody know the colour of a button when using the Material Dark Theme? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There isn't:
Send the |
Beta Was this translation helpful? Give feedback.
There isn't:
bg_color
first and store that.bg_color
.Send the
p12.bg_color
command without any parameters