Re: NSPopUpButton menu list not showing all the menu items
Re: NSPopUpButton menu list not showing all the menu items
- Subject: Re: NSPopUpButton menu list not showing all the menu items
- From: Jonathan Hess <email@hidden>
- Date: Wed, 20 Feb 2008 14:27:27 -0800
It looks this this could happen if you start with a pop up, change it
to pull down, and then duplicate the first item a number of times to
populate your menu. The first item in a pull down menu is marked as
hidden, and when IB duplicates the item, it propagates the hidden
attribute.
I think this would all be more obvious if IB rendered hidden menu
items in a way that informed the user they were hidden.
Thanks for pointing this out -
Jon Hess
On Feb 20, 2008, at 2:08 PM, Graham wrote:
Of course I really meant the "hidden" attribute, not the "enabled"
attribute.
--------
S.O.S.
IB 3 seems to have a bug where the "enabled" state for a menu item
initially gets set to OFF when you load a NIB (maybe from an
earlier version of IB - not explored exactly what triggers this).
You have to go through and turn the checkbox back on again for all
your items in each menu you touch with IB 3. A bit of a nuisance.
_______________________________________________
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
_______________________________________________
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