• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder/iTunes Sidebar View?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Finder/iTunes Sidebar View? (From: "Mitchell Hashimoto" <email@hidden>)

  • Prev by Date: Re: Deleting all objects from Core Data store
  • Next by Date: Where to find artwork for 10.5-only system icons?
  • Previous by thread: Re: Finder/iTunes Sidebar View?
  • Next by thread: Crash in lockFocus?
  • Index(es):
    • Date
    • Thread