Re: setting table view's cell size?
Re: setting table view's cell size?
- Subject: Re: setting table view's cell size?
- From: Todd Heberlein <email@hidden>
- Date: Wed, 20 Apr 2011 18:31:27 -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?
OK, I found a solution. I have a delegate for the table that implements
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row
The documentation says this is "if your table supports varying row heights". Is there a better way to do this if all your rows will be the same height?
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