On Jun 10, 2009, at 11:20 AM, Stephen Blinkhorn wrote:
I use NSPopUpButton to create menus with say 30-40 entries. I'd like to divide the top half of the menu visually from the bottom half with lines or some kind of heading. Is this possible via NSPopUpButton - I populate the menu via addItemsWithTitles:
It's possible, but not with -addItemsWithTitles:. You'll need to insert separator items, created by calling +[NSMenuItem separatorItem], into the pop-up button's menu object.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
