The idea of using a combo box is that the text field contains the currently selected path while the list contains a history of previously selected paths. The NSPathControl only supports a single path and the NSPathStylePopup does not allow to choose a path from the previous history but a totally different path.
Subject: Re: NSComboxBox alternative From: k...@highrolls.net Date: Thu, 17 Feb 2011 13:26:28 -0700 To: c0ldp...@hotmail.com NSPathControl - NSPathStylePopUp The pop-up display style and behavior. Only the last path component is displayed with an icon image and component name. The full path is shown when the user clicks on the cell. If the cell is editable, a Choose item is included to enable selecting a different path. Available in Mac OS X v10.5 and later. On Feb 17, 2011, at 1:22 PM, FirstName LastName wrote: I have a selectable non-editable NSComboBox for choosing paths. However some of these paths are larger than the NSComboBox's width causing the following problems: 1. The list does not show the path's file names and extensions and there's no way to add a horizontal scroller. 2. The textfield is scrolled programmatically to show the file name and extension but the scroll goes away when another view becomes first responder. What do you suggest for being able to show file names and extensions in a list of paths? And keeping the currently selected one scrolled? (Unless changed by the user). Any help. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/koko%40highrolls.net This email sent to k...@highrolls.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com