• 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: FirstName LastName <email@hidden>
  • Date: Sun, 20 Feb 2011 19:57:40 +0000
  • Importance: Normal




> Date: Sat, 19 Feb 2011 12:19:50 -0800
> Subject: Re: NSComboxBox alternative
> From: email@hidden
> To: email@hidden
> CC: email@hidden
>
> 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?
>

Yes that's exactly the idea, just that I'm using the NSComboBox and an NSButton instead. If the popup list doesn't suffer from the same problem (i.e. Paths filenames and extensions clipped on the right) I'll happily switch. I guess you are talking about a pull-down list.

> > 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.
>

Any pointers regarding subclassing NSComboBoxCell for this purpose?

> --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: Kyle Sluder <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>)
 >Re: NSComboxBox alternative (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Getting NSScrollView to ignore scrolling
  • Next by Date: could not locate an NSManagedObjectModel
  • Previous by thread: Re: NSComboxBox alternative
  • Next by thread: Re: NSComboxBox alternative
  • Index(es):
    • Date
    • Thread