Re: how to change NSButton color
Re: how to change NSButton color
- Subject: Re: how to change NSButton color
- From: Kyle Sluder <email@hidden>
- Date: Fri, 21 Jan 2011 22:38:07 -0800
On Jan 20, 2011, at 11:49 PM, Dianne <email@hidden> wrote:
> Hi List,
>
> I would like to know what you can suggest when changing the color of NSButton.
> I have read everywhere that I need to subclass NSButtonCell and NSButton as
> well, is this the only way to do it for Mac?
> I'm surprised that this is how complicated it is in Mac. Why NSButton doesn't
> have any property to set its color?
Because you're not supposed to change a button's color.
See the Human Interface Guidelines: http://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/XHIGIntro.html
--Kyle Sluder_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden