PDA

View Full Version : text color is gray in disabled NSButtonCell




esapir
Jun 17, 2011, 09:17 AM
when i set my NSButton to be disabled, the color of the text turns gray.
As i use light background, it is very bad for me.

How can force the text color to stay black?



kainjow
Jun 21, 2011, 09:31 PM
I don't think you can modify the disabled text color. You'd have to override the button cell and draw the text yourself.