Re: Finder/iTunes Sidebar View?
Re: Finder/iTunes Sidebar View?
- Subject: Re: Finder/iTunes Sidebar View?
- From: William Bates <email@hidden>
- Date: Mon, 14 Jan 2008 06:17:30 -0600
Mitchell,
I just did an iTunes-like sidebar. Here are some notes I took:
(1)
The basic object is an NSOutlineView
The backround blue color is:
[NSColor colorWithDeviceRed:0.820 green:0.843 blue:0.886 alpha:1.0]
== NSCalibratedRGBColorSpace 0.819608 0.843137 0.886275 1
Row Height 13
Text: [NSFont systemFontOfSize:11]
There is a very subtle embossed text effect created by a NSTextCell
subclass that returns NSBackgroundStyleRaised for backgroundStyle and
interiorBackgroundStyle
(2) For a Finder-like sidebar (only), use
"Source List" selection style in IB, or programmatically set to
NSTableViewSelectionHighlightStyleSourceList
Note that the gradient used for the selection effect requires some
vertical room
_______________________________________________
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