FROM : William Bates
DATE : Mon Jan 14 13:17:30 2008
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
DATE : Mon Jan 14 13:17:30 2008
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
| Related mails | Author | Date |
|---|---|---|
| Mitchell Hashimoto | Jan 13, 18:37 | |
| Joeles Baker | Jan 13, 18:46 | |
| j o a r | Jan 13, 18:52 | |
| I. Savant | Jan 13, 18:52 | |
| Mitchell Hashimoto | Jan 13, 20:34 | |
| Scott Anguish | Jan 14, 02:28 | |
| William Bates | Jan 14, 13:17 |






Cocoa mail archive

