• 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: nspopupbuttoncell attribs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nspopupbuttoncell attribs


  • Subject: Re: nspopupbuttoncell attribs
  • From: Steve Nygard <email@hidden>
  • Date: Mon, 11 Feb 2008 19:17:13 -0700


On 11-Feb-2008, at 13:08 , Peter Ammon wrote:

If you want to remove the checkmark space from the menu, you can use -[menu setShowsMarkColumn:NO], but be aware that the title in the menu and in the popup button may no longer line up when the menu is opened.

It's actually -[menu setShowsStateColumn:NO], added in 10.5.

An earlier thread mentioned this setting, and I couldn't find it in Interface Builder, so here's how:

You need to select the NSPopUpButton or NSPopUpButtonCell, right click on it to open a black HUD window, click on the popup on the right side of the title bar of the HUD window, and select Menu. (Or you can use one of the other two view modes in the Nib Document Window and select the menu that way.) With the menu selected, the inspector (Attributes) has the "Show State Column" checkbox.

--
Steve

_______________________________________________

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


References: 
 >nspopupbuttoncell attribs (From: "William Zumwalt" <email@hidden>)
 >Re: nspopupbuttoncell attribs (From: Peter Ammon <email@hidden>)

  • Prev by Date: Re: Time zone problem with CoreData
  • Next by Date: NSArrayController index doesn't change when TableView selection changes
  • Previous by thread: Re: nspopupbuttoncell attribs
  • Next by thread: Core Data Cascade delete rule sometimes doesn't
  • Index(es):
    • Date
    • Thread