Re: setting table view's cell size?
Re: setting table view's cell size?
- Subject: Re: setting table view's cell size?
- From: Michael Babin <email@hidden>
- Date: Wed, 20 Apr 2011 20:51:22 -0500
On Apr 20, 2011, at 8:31 PM, Todd Heberlein wrote:
>> 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?
- [NSTableView setRowHeight:]
_______________________________________________
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