Re: NSButton with image
Re: NSButton with image
- Subject: Re: NSButton with image
- From: Graham Cox <email@hidden>
- Date: Mon, 14 Jun 2010 22:55:33 +1000
On 14/06/2010, at 10:46 PM, Adam Gerson wrote:
> 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.
You don't need to subclass, and it can be set in IB.
Set the image (by name). Set the 'Position' to icon only, no text (second option from left in array of position buttons), and uncheck 'bordered'.
--Graham
_______________________________________________
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