• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSComboxBox alternative
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: NSComboxBox alternative
      • From: FirstName LastName <email@hidden>
References: 
 >NSComboxBox does not keep scrolled‏ (From: FirstName LastName <email@hidden>)
 >NSComboxBox alternative (From: FirstName LastName <email@hidden>)
 >Re: NSComboxBox alternative (From: Peter Lübke <email@hidden>)
 >Re: NSComboxBox alternative (From: Lee Ann Rucker <email@hidden>)
 >RE: NSComboxBox alternative (From: FirstName LastName <email@hidden>)

  • Prev by Date: RE: NSComboxBox alternative
  • Next by Date: Re: NSTextAttachment, MouseOver, GlyphPosition
  • Previous by thread: RE: NSComboxBox alternative
  • Next by thread: RE: NSComboxBox alternative
  • Index(es):
    • Date
    • Thread