On May 5, 2010, at 10:20 AM, Quincey Morris wrote: > On May 5, 2010, at 04:20, Graham Cox wrote: > >> So is using NSPathControl even possible for this, or would I just be better >> off writing a complete new control from scratch? NSPathControl does some >> neat things like fading overlong text within a subcell that I could use, as >> well as displaying an icon and a triangle for the next item. What about >> subclassing the subcell? I guess I'm just looking for some direction here or >> even better, some code out there I can use. > > If you don't need the icons, and you don't need any slashes in your text, > setting a path string instead of a URL works just fine.
..and if you do need them, set the path string, then manually set the icons on the -pathComponentCells. If you need slashes in the text, use a URL with some custom prefix and escape the slashes. -corbin _______________________________________________ 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