how can i change the color of NELevelIndicator

Discussion in 'Mac Programming' started by Javajax, Jul 15, 2011.

  1. Javajax macrumors newbie

    Javajax

    Joined:
    May 18, 2007
    #1
    I am trying to change the color of the stars in the NSLevelIndicator. I would like inactive stars to be red outlines and active stars to be yellow solid stars.
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    Assuming to actually meant NSLevelIndicator, it doesn't look like you can customise the NSLevelIndicatorCell styles. In that case, you'd need to subclass NSLevelIndicatorCell and do custom drawing.
     

Share This Page