Re: NSComboxBox alternative
Re: NSComboxBox alternative
- Subject: Re: NSComboxBox alternative
- From: Kyle Sluder <email@hidden>
- Date: Sat, 19 Feb 2011 12:19:50 -0800
On Sat, Feb 19, 2011 at 12:15 PM, FirstName LastName
<email@hidden> wrote:
> I think the NSTableView in not retractable. It wastes space to have the whole history always displayed when in many cases the user will just choose the most recently used path. Also, multiple NSPathControls in popup mode is not the purpose of this UI. The idea is to choose a path but to keep a history of previously chosen ones. An NSOpenPanel activated via a nearby button will allow to choose a new path.
So are you going to allow people to type paths into the field? If not,
then why not just go for a popup list of N recently-used paths, with
an item at the bottom to "Choose path…" that spawns the NSOpenPanel?
> What do you think about using an NSFormatter to right align the paths in the list? Is it possible?
That's not what NSFormatter's good at. If you stick with the
NSComboBox approach, you'd probably want to subclass NSComboBoxCell
instead.
--Kyle Sluder
_______________________________________________
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