BButton icon indicating copy to clipboard operation
BButton copied to clipboard

No "Disabled" State

Open chrisballinger opened this issue 11 years ago • 1 comments

When I set .enabled = NO on a BButton, it no longer accepts touch events but it isn't obvious to the user that the button is disabled. I was imagining slightly greying out the current button color, similar to other controls.

Is this a bug or do we need to write it?

chrisballinger avatar May 15 '13 03:05 chrisballinger

Try this: self.someButton.enabled = NO; self.someButton.userInteractionEnabled = NO; self.someButton.titleLabel.enabled = NO;

Disabled state of button should now also be visible to the user.

chriswill0w avatar Jun 14 '13 11:06 chriswill0w