Reputation: 24767
When i set a Button (NSButton) to be disabled, its text color changes to gray. How can i modify this property? I want the text to stay black.
Upvotes: 2
Views: 764
Reputation: 4248
try setTitleColor:forState:
, and pass UIControlStateDisabled
for the last argument.
Upvotes: 0
Reputation: 15128
To answer your Title if not the body of the question: it's practically an industry standard to represent disabled screen elements this way, and probably what users expect.
To do something different might be confusing.
Upvotes: 3