Re: NSButton with image
Re: NSButton with image
- Subject: Re: NSButton with image
- From: John Johnson <email@hidden>
- Date: Mon, 14 Jun 2010 07:58:44 -0500
> If all I want is an image that acts like a button, do I need to
> subclass NSButton? I just want my button to show only my image and no
> "Apple" style button backgrounds.
All this is easily found in the NSButton and NSButtonCell documentation. I believe what you are looking for is setImagePosition:NSImageOnly, setBordered:NO, setButtonType:NSMomentaryChangeButton.
In InterfaceBuilder, all these options are available too. Image position will be the button showing just the square, the bordered option is a checkbox, etc._______________________________________________
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