Re: NSOutlineView variable width cell
Re: NSOutlineView variable width cell
- Subject: Re: NSOutlineView variable width cell
- From: "I. Savant" <email@hidden>
- Date: Thu, 14 Sep 2006 14:02:20 -0400
Ashley:
I recommend spending some time familiarizing yourself with
controls and cells:
http://tuvix.apple.com/documentation/Cocoa/Conceptual/ControlCell/
index.html
This will give you the background you need to understand how and
why this (and any similar approach) works:
http://stoneship.org/blog/2005/07/30/using-a-nsoutlineview-as-a-
source-list/
(There are several sources of example code for gradient table /
outline views, but this was what I found the fastest with my
googling. Look for "nstableview gradient" or "nsoutlineview gradient".)
--
I.S.
On Sep 14, 2006, at 1:45 PM, Ashley Clark wrote:
I'm not sure how to go about this in my project so I'm looking for
some ideas and guidance.
I want to have an outline view where some rows are drawn similarly
to the groups row in the Spotlight window ignoring the column
layouts. Any ideas? I'm guessing that I'm going to have to subclass
NSOutlineView and override whatever method is drawing the row but
I'm not sure where to start on this. That is, unless an NSCell can
overflow its' bounds?
Help me, please.
Ashley Clark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden