PDA

View Full Version : NSWindow Backcolor




McBgnr
Apr 15, 2009, 11:28 PM
How can I change the backcolor of NSWindow?



McBgnr
Apr 15, 2009, 11:56 PM
I realized how this is to be done soon after I put this post :-)... However I am not able to do the same for NSTabView.... Checked the documentation and realized that NSTabView does not have the setBackgroundColor function. Any ideas how I can set the backcolor for the NSTabView ?

kainjow
Apr 16, 2009, 11:27 AM
You probably have to subclass it and override drawRect: