text color is gray in disabled NSButtonCell

Discussion in 'Mac Programming' started by esapir, Jun 17, 2011.

  1. macrumors newbie

    Jun 17, 2011
    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?
  2. Moderator emeritus


    Jun 15, 2000
    I don't think you can modify the disabled text color. You'd have to override the button cell and draw the text yourself.

Share This Page