Re: NSOutlineView Row Heights
Re: NSOutlineView Row Heights
- Subject: Re: NSOutlineView Row Heights
- From: Scott Ribe <email@hidden>
- Date: Tue, 17 Oct 2006 10:13:15 -0600
- Thread-topic: NSOutlineView Row Heights
> 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?
NSTextFieldCell's cellSizeForBounds method will do this for you. So I guess
in the delegate method to get the row height, you could use that method on
the various cells for the columns? (I used the RowResizeableOutlineView
project myself, because I needed to support 10.3.)
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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