Design Advice - Bread Crumbs, NSPathControl
Design Advice - Bread Crumbs, NSPathControl
- Subject: Design Advice - Bread Crumbs, NSPathControl
- From: "Rob Evans" <email@hidden>
- Date: Sun, 4 Jan 2009 12:34:03 -0200
Folks,
I'd like to include a "Bread Crumbs" control in my application and
wonder if extending NSPathControl would be appropriate. I'd like my
control to look something like what you see in Apple's Instruments [1]
or WebKits WebInspector [2]. Since these are path like structures, I
naturally thought I should subclass NSPathControl and provide my own
NSPathComponentCell to get the specific look I'm after.
I've written some code that seems to work but my NSPathControl
subclass, when drawn, isn't as tall as I'd like it to be.
Am I on the right track? Can the height of an NSPathControl be,
well... controlled.
[1] http://lpetr.org/blog/wp-content/uploads/2007/06/safari_webinspector1.png
[2] http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Art/instruments_window.jpg
_______________________________________________
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