• 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
NSTextField & sizeToFit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField & sizeToFit


  • Subject: NSTextField & sizeToFit
  • From: Andre Lipinski <email@hidden>
  • Date: Sat, 9 Jun 2001 23:52:57 -0400

Hello,

I am trying to have an NSTextField change size as the user changes its contents, much like the finder. I've tried a bunch of things in controlTextDidChange: like [field sizeToFit] and a bunch of methods from NSCell. I cannot find a way to make it work. The best I can get is nowhere good enough. After an hour+ of trying, I must move on.

Do you know how to do this? Please tell!

Thank you kindly for your time,
Andre


References: 
 >Visualizing Cocoa (From: email@hidden)

  • Prev by Date: Flaky URLAccessSample behavior?
  • Next by Date: Re: Displaying jpeg images
  • Previous by thread: RE: Visualizing Cocoa
  • Next by thread: Re: Visualizing Cocoa
  • Index(es):
    • Date
    • Thread