Re: Custom buttons
Re: Custom buttons
- Subject: Re: Custom buttons
- From: Oliver Cameron <email@hidden>
- Date: Sun, 20 Jun 2004 18:18:48 +0100
Using setImage: and not using a border should work fine.
Thanks,
Oliver
On 20 Jun 2004, at 18:02, Marco Michieli wrote:
I'm trying to figure out how to create nice custom buttons as
Safari/iTunes custom buttons; I don't need any special behaviour, but
I would like to use a different shape/image then standard buttons.
MenuMadness.pbproj example shows how to create buttons from code, but
I can't figure out how to set a different image for buttons.
There's any example about that? I'm supposed to subclass NSButton? or
NSButtonCell? which methods must be overridden by
NSButton/NSButtonCell subclasses (if that is needed to create custom
buttons)?
Thanks for your help
Ciao
Marco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.