NSComboxBox does not keep scrolled
NSComboxBox does not keep scrolled
- Subject: NSComboxBox does not keep scrolled
- From: FirstName LastName <email@hidden>
- Date: Tue, 8 Feb 2011 00:07:19 +0000
- Importance: Normal
Hello,
I have a selectable non-editable NSComboBox that displays a path chosen via a NSOpenPanel. Its list is used as a history of the most recently selected paths. I use its field editor's scrollRangeToVisible method to scroll the path so that the file name and extension are visible. However, as soon as the user selects another field the scrolling is lost, displaying only the leftmost part of the path. I presume this is by design since there's only one field editor for the window. If so, is there an alternative way to accomplish this? If not, could you please show the right way of doing this.
Survivor
_______________________________________________
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