• 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
NSOutlineView Row Heights
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView Row Heights


  • Subject: NSOutlineView Row Heights
  • From: Dan Donaldson <email@hidden>
  • Date: Tue, 17 Oct 2006 10:59:10 -0400

in 10.4, NSOutlineView has support for varying row heights.

question is, how are row heights set? If I subclass NSCell (or NSTextCell) and manipulate the value returned by cellSize, is that all there is to it?

I've looked at the RowResizeableOutlineView project and used some ideas in it to get where I am, but I'm not clear on the issue above. In case it's relevant, this is a Core Data Document Based project

The second part of the question would be, what do I use to calculate the height required for a textcell with an arbitrary amount of text in it, for a given width?

Many thanks in advance from a perma-newbie for any help...

Dan Donaldson
dan[at]omnivore[dot]ca



_______________________________________________
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


  • Follow-Ups:
    • Re: NSOutlineView Row Heights
      • From: Scott Ribe <email@hidden>
    • Re: NSOutlineView Row Heights
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: keypress events + responder chain
  • Next by Date: How to make my application open file directly from Finder?
  • Previous by thread: Re: Signed incoherences with NSTableView indexes
  • Next by thread: Re: NSOutlineView Row Heights
  • Index(es):
    • Date
    • Thread