• 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
setting table view's cell size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: setting table view's cell size?
      • From: Todd Heberlein <email@hidden>
  • Prev by Date: video analog to MPMediaItemCollection?
  • Next by Date: Re: setting table view's cell size?
  • Previous by thread: Re: video analog to MPMediaItemCollection?
  • Next by thread: Re: setting table view's cell size?
  • Index(es):
    • Date
    • Thread