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

Re: NSOutlineView Row Heights


  • Subject: Re: NSOutlineView Row Heights
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 17 Oct 2006 10:13:15 -0600
  • Thread-topic: NSOutlineView Row Heights

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

NSTextFieldCell's cellSizeForBounds method will do this for you. So I guess
in the delegate method to get the row height, you could use that method on
the various cells for the columns? (I used the RowResizeableOutlineView
project myself, because I needed to support 10.3.)


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
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

References: 
 >NSOutlineView Row Heights (From: Dan Donaldson <email@hidden>)

  • Prev by Date: Re: Do something when an NSTextView gains focus
  • Next by Date: Problems with flipping an NSImage
  • Previous by thread: Re: NSOutlineView Row Heights
  • Next by thread: How to make my application open file directly from Finder?
  • Index(es):
    • Date
    • Thread