Re: Setting the image of an NSPopUpButton in IB?
Re: Setting the image of an NSPopUpButton in IB?
- Subject: Re: Setting the image of an NSPopUpButton in IB?
- From: Jens Alfke <email@hidden>
- Date: Mon, 3 Mar 2008 14:21:43 -0800
On 3 Mar '08, at 1:56 PM, Nick Zitzmann wrote:
I checked the archives and didn't see anything. How do I set the
image to display in a pull-down NSPopUpButton using Interface
Builder 3.0?
That's funny, I was just doing this for the first time today, too! I
got it to work...
I also tried setting the image in the first menu item (changing the
pull-down back into a pop-up to do so), and this time the field
didn't get cleared out, but no image was drawn in the menu item.
Don't set the button style back to pop-up. Leave it pull-down, and set
the button's Position attribute to image-only. Then select the first
menu item and set its image name.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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