NSOutlineView Row Heights
NSOutlineView Row Heights
- Subject: NSOutlineView Row Heights
- From: Dan Donaldson <email@hidden>
- Date: Tue, 17 Oct 2006 10:59:10 -0400
in 10.4, NSOutlineView has support for varying row heights.
question is, how are row heights set? If I subclass NSCell (or
NSTextCell) and manipulate the value returned by cellSize, is that
all there is to it?
I've looked at the RowResizeableOutlineView project and used some
ideas in it to get where I am, but I'm not clear on the issue above.
In case it's relevant, this is a Core Data Document Based project
The second part of the question would be, what do I use to calculate
the height required for a textcell with an arbitrary amount of text
in it, for a given width?
Many thanks in advance from a perma-newbie for any help...
Dan Donaldson
dan[at]omnivore[dot]ca
_______________________________________________
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