Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
- Subject: Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
- From: Jerry Krinock <email@hidden>
- Date: Tue, 20 Apr 2010 18:49:50 -0700
On 2010 Apr 20, at 17:03, Jens Alfke wrote:
> I wouldn't do it this way (and I speak from past experience, having tried to do this once). You're using NSTableView for something it's not good at — updating layout on the fly as the width changes
OK, the -tableView:heightOfRow: delegate method I suggested is fine if the table has hard line wraps as in my project.
But if we're talking about soft line wraps in table cells which reflow their text and adjust their height when the column width is changed, I suspect that would be a holy mess. Forget it and take Jens' advice.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden