• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the image of an NSPopUpButton in IB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • [SOLVED] Re: Setting the image of an NSPopUpButton in IB?
      • From: Nick Zitzmann <email@hidden>
References: 
 >Setting the image of an NSPopUpButton in IB? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Traversing windows with Cocoa
  • Next by Date: Re: Relaunching an application
  • Previous by thread: Setting the image of an NSPopUpButton in IB?
  • Next by thread: [SOLVED] Re: Setting the image of an NSPopUpButton in IB?
  • Index(es):
    • Date
    • Thread