Re: NSButton with image

2010-06-14 Thread John Johnson
> 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 setImagePosi

Re: NSButton with image

2010-06-14 Thread Graham Cox
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 nam

Re: NSButton with image

2010-06-14 Thread Keary Suska
On Jun 14, 2010, at 6:46 AM, 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. No need to subclass. Playing around with button attribute setting in IB wil

NSButton with image

2010-06-14 Thread Adam Gerson
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. Thanks, Adam ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po