Skip navigation.
 
mlRe: horizontal sizeToFit of NSTextView or NSTextField
FROM : Jack Repenning
DATE : Sun Apr 20 06:26:30 2008

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_removed>
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"

Related mailsAuthorDate
mlhorizontal sizeToFit of NSTextView or NSTextField Manfred Schwind Apr 19, 17:31
mlRe: horizontal sizeToFit of NSTextView or NSTextField Jack Repenning Apr 20, 06:26
mlRe: horizontal sizeToFit of NSTextView or NSTextField Manfred Schwind Apr 20, 20:37
mlRe: horizontal sizeToFit of NSTextView or NSTextField Gary L. Wade Apr 21, 02:08
mlRe: horizontal sizeToFit of NSTextView or NSTextField Jack Repenning Apr 21, 17:41
mlRe: horizontal sizeToFit of NSTextView or NSTextField Manfred Schwind Apr 21, 20:03