Re: nspopupbuttoncell attribs
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