• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setting table view's cell size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >setting table view's cell size? (From: Todd Heberlein <email@hidden>)
 >Re: setting table view's cell size? (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: setting table view's cell size?
  • Next by Date: is it has lack of understanding & full of errors ??
  • Previous by thread: Re: setting table view's cell size?
  • Next by thread: is it has lack of understanding & full of errors ??
  • Index(es):
    • Date
    • Thread