Re: NSOutlineView variable width cell
Re: NSOutlineView variable width cell
- Subject: Re: NSOutlineView variable width cell
- From: Ashley Clark <email@hidden>
- Date: Thu, 14 Sep 2006 13:12:42 -0500
Well, the gradients are nice but that's not really what I'm interested
in.
Essentially, I want some rows to have one full-width column while
other rows will have three columns. Or at least that's the appearance
I want.
On Sep 14, 2006, at 1:02 PM, I. Savant wrote:
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:
This email sent to email@hidden
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:
This email sent to email@hidden