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 (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