NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
- Subject: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
- From: Stuart Malin <email@hidden>
- Date: Thu, 23 Apr 2009 11:55:49 -1000
I have an NSTableView with a single column that has a custom cell.
During a live resize, I recalculate the row height in the delegate
method -tableView:heightForRow: and return the result. However, some
rows don't grow larger. I presume I need to call the tableview's -
noteHeightOfRowsWithIndexesChanged for each row that has a height
change. Is it okay to call this from within the
tableView:heightForRow: method? I get some glitchy results when I do
so: the affected rows are only redisplayed only when they get wider
(and hence the height decreases), not when they get narrower (and
hence the height increases).
_______________________________________________
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