Changing button color when disabled

Is there a way to change the color the button switches to when it’s disabled? I’m not seeing anything in the Theme under either Button nor Color.

Assuming that you are controlling or tracking the disabled state with a variable you could set the style properties of the button with a formula. Something like: IF(varDisabled = True, Grey, Blue)

1 Like

You can use also IF(self.disabled, "red", "blue") for any style property. Note that this doesn’t change the default effect of Button being disabled, which means the color you select here will be “greyed out” a little still.

1 Like

Thank you @Geoff_Harcombe & @Tomi_Laakso! Brilliant solutions. I’m all set now :slight_smile: