On Oct 14, 2011, at 9:24 AM, Koen van der Drift wrote:

> I’m trying to find out how to create the grayish, static items in an
> NSOutlineView, eg “Library” in iTunes or “Mailboxes” in Mail.
> Sometimes they have a disclosure triangle, eg "Devices" in the Finder.
> I think I need to subclass NSCell to change the font, etc.

No need; you just implement the outline view delegate method that gets called 
before the cell is about to be drawn, and set the cell’s text color, font, etc.

—Jens_______________________________________________

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

Reply via email to