setting table view's cell size?
setting table view's cell size?
- Subject: setting table view's cell size?
- From: Todd Heberlein <email@hidden>
- Date: Wed, 20 Apr 2011 18:14:23 -0700
I am able to draw an image in an NSTableView's cell using the NSImageCell, but I want a larger cell. What is the best way to do this?
In my first attempt, I subclassed NSImageCell and assign it to the column with -setDataCell in -awakeFromNib. I have verified that my custom cell is being used, but I still cannot figure out how to use this custom cell to draw a larger cell. I tried overriding -cellSize, but it doesn't seem to get called.
Any pointers?
Thanks,
Todd
_______________________________________________
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