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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to