Perhaps this method is only intended to provide information to the system by the NSCell implementation and is not intended for the purpose I need. In which case, is there a way to achieve what I want without having to ask for the NSTableColumn width and working out what proportion of this width is used for non-'interior' furniture (if any)?

-[NSTableView frameOfCellAtColumn:row:] is what you’re looking for. The frame that’s passed to the interior drawing method is really dependent on the cell subclass you’re using, but it’s based on the frame passed to -[NSCell drawWithFrame:inView:].

Now the standard question: what are you trying to do?

-Ben_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to