Re: Finder's sidebar background color

2008-11-16 Thread Benjamin Dobson
Well, it is kind of a source list (a list of command descriptions). It is hard to explain in words, please take a look at the link to OnMyCommand I've posted earlier. However, I do think it really fits its purpose :D I agree, but I don't understand why a real source list doesn't do what y

Re: Finder's sidebar background color

2008-11-15 Thread Knut Lorenzen
Am 15.11.2008 um 23:30 schrieb Kyle Sluder: On Sat, Nov 15, 2008 at 5:06 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote: I am afraid I was unclear, mimicing Finder (and it's ilk) only color-wise. I'm still a bit confused... where will you be using this color? This is the color for source lis

Re: Finder's sidebar background color

2008-11-15 Thread Kyle Sluder
On Sat, Nov 15, 2008 at 5:06 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote: > I am afraid I was unclear, mimicing Finder (and it's ilk) only color-wise. I'm still a bit confused... where will you be using this color? This is the color for source lists. You should have a *very* good reason for usin

Re: Finder's sidebar background color

2008-11-15 Thread Knut Lorenzen
Am 15.11.2008 um 22:45 schrieb Andrew Merenbach: Just out of curiosity: if you're trying to mimic the Finder, iTunes, etc., what would you be using besides an outline view? A normal table view wouldn't allow you to have groupings of subitems that are viewable with disclosure triangles. Hell

Re: Finder's sidebar background color

2008-11-15 Thread Andrew Merenbach
On Nov 15, 2008, at 1:41 PM, Knut Lorenzen wrote: Am 15.11.2008 um 22:10 schrieb Markus Spoettl: On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote: is there a way to obtain the background color of Finder's sidebar programmatically? Yes, if you have an NSOutlineView instance in SourceList d

Re: Finder's sidebar background color

2008-11-15 Thread Knut Lorenzen
Am 15.11.2008 um 22:10 schrieb Markus Spoettl: On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote: is there a way to obtain the background color of Finder's sidebar programmatically? Yes, if you have an NSOutlineView instance in SourceList display mode you can just use its -backgroundColor is

Re: Finder's sidebar background color

2008-11-15 Thread Knut Lorenzen
Am 15.11.2008 um 22:04 schrieb Kyle Sluder: On Sat, Nov 15, 2008 at 3:58 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote: is there a way to obtain the background color of Finder's sidebar programmatically? If you're trying to create a sidebar, set its selection highlight style to NSTableViewSel

Re: Finder's sidebar background color

2008-11-15 Thread Markus Spoettl
On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote: is there a way to obtain the background color of Finder's sidebar programmatically? Yes, if you have an NSOutlineView instance in SourceList display mode you can just use its -backgroundColor is to get the correct color. Refreshing whateve

Re: Finder's sidebar background color

2008-11-15 Thread Kyle Sluder
On Sat, Nov 15, 2008 at 3:58 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote: > is there a way to obtain the background color of Finder's sidebar > programmatically? If you're trying to create a sidebar, set its selection highlight style to NSTableViewSelectionHighlightStyleSourceList. If you're not

Finder's sidebar background color

2008-11-15 Thread Knut Lorenzen
Hi list, is there a way to obtain the background color of Finder's sidebar programmatically? In active (i.e. frontmost) and inactive state? I've searched the documentation and looked up NSColorList to no avail. Of course it it rather easy to "steal" the colors from Finder and set them to