Re: NSPopupButtons work, but not in hierarchical mode, what am I missing here ?
Re: NSPopupButtons work, but not in hierarchical mode, what am I missing here ?
- Subject: Re: NSPopupButtons work, but not in hierarchical mode, what am I missing here ?
- From: "Gary L. Wade" <email@hidden>
- Date: Fri, 07 May 2010 09:50:58 -0700
- Thread-topic: NSPopupButtons work, but not in hierarchical mode, what am I missing here ?
Try a different UI approach.
One thing to consider is using an NSBrowser if you have lots of upper-level
options and a good number of sub items and want a cascading list where the
leaf item is just a choice rather than a command.
If you want commands but have a small number of upper-level options and a
relatively small number of sub items, consider using header-oriented menu
items and possibly set their sub items to use an indentation level. Look at
the Speech System Preference's System Voice popup button after choosing
"Show More Voices". It doesn't use indentations, but the graying and
separators shows a clear delineation. If you want the headers to be
commands in their own right, you would most likely want to use indentations,
but it's debatable for their need if they're not selectable, such as with
the System Voices.
Of course, you may have to do things a lot harder; Apple even uses
hierarchical menu items in a popup button for the Region on the Formats
panel of the Language & Text System Preference when you turn on "Show all
regions", but that's definitely a huge list.
On 05/07/2010 9:12 AM, "Bill Hernandez" <email@hidden> wrote:
> I think I am having the same problem as :
>
> Submenus - What am I not understanding?
>
> I was hoping that someone might see what I am trying to do and perhaps offer
> some ideas on a work-around, the ideas I've come up with are not pretty...
>
> Thanks again,
>
> Bill Hernandez
> Plano, Texas_______________________________________________
>
_______________________________________________
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