[tabView setBackgroundColor:[NSColor colorWithCalibratedRed:0.227f green:0.251f blue:0.337 alpha:0.8];
The above code does not work 🙁
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
NSTabView doesn’t have a
setBackgroundColormethod, so I think you cann’t use it as is. One of the approaches to solve it is subclassing NSTabView and overridedrawRectmethod. Check this version of custom tab control on github – https://github.com/ciaran/psmtabbarcontrol