• 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: horizontal sizeToFit of NSTextView or NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: horizontal sizeToFit of NSTextView or NSTextField


  • Subject: Re: horizontal sizeToFit of NSTextView or NSTextField
  • From: Jack Repenning <email@hidden>
  • Date: Sat, 19 Apr 2008 21:26:30 -0700


On Apr 19, 2008, at 8:31 AM, Manfred Schwind wrote:

Now I want to be able to calculate the optimal width of the view so that the entire text is visible.

This worked wonders for me:

http://www.cocoabuilder.com/archive/message/cocoa/2008/3/31/202752

-==-
Jack Repenning
email@hidden
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"


_______________________________________________

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: horizontal sizeToFit of NSTextView or NSTextField
      • From: Manfred Schwind <email@hidden>
References: 
 >horizontal sizeToFit of NSTextView or NSTextField (From: Manfred Schwind <email@hidden>)

  • Prev by Date: Re: drawRect: called twice for NSView subclass.
  • Next by Date: Re: NSKeyedArchiver and Forwards Compatibility Strategies
  • Previous by thread: horizontal sizeToFit of NSTextView or NSTextField
  • Next by thread: Re: horizontal sizeToFit of NSTextView or NSTextField
  • Index(es):
    • Date
    • Thread