Hi,

I'm new to NSTableView and more specifically NSOutlineView. I want to have variable height rows in the outline view, and I need to keep Tiger compatibility.

Tiger provides the informal protocol method heightOfRowByItem that looks like it can do the job I want. However it does not seem to provide a way of obtaining the cell for the item. I would like to ask the cell (NSTextFieldCell) what its cell size is by calling cellSize or cellSizeForBounds since it should know how big it needs to be when I have set the text for the text field cell.

Since I could not find a way to make this work I've been looking for a workaround. I have come across RowResizableViews which looks like it might be able to do what I want, however when I ran the sample app it looks quite buggy running in Leopard.

I feel like I am missing something that should be obvious. Pointers would be helpful or a suggestion for something else to try.

Many thanks.

Kevin
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to