• 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: NSCell's cellSize per table column row?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCell's cellSize per table column row?


  • Subject: Re: NSCell's cellSize per table column row?
  • From: Corbin Dunn <email@hidden>
  • Date: Fri, 1 Jul 2005 07:45:36 -0700

Is there a way to invoke NSCell's cellSize for each row within a NSTableColumn?
When it's invoked it (clearly) only returns the size for the last value set by the table, however I would like to use it to determine the max size for a given column's row so that I can use it to autosize my column.

That is true; the same cell is used for each row.

You will have to call "[cell setObjectValue:dataSourceValueForThatRow]", and then it should be setup like how tableview likes it.

-corbin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
  • Next by Date: Re: Using gcc 2 on 10.4.1 with XCode 2.1. Confirmation request.
  • Previous by thread: Re: Retyping parameters
  • Next by thread: Re: NSCell's cellSize per table column row?
  • Index(es):
    • Date
    • Thread