Re: Vertically-expanding NSTextField
Re: Vertically-expanding NSTextField
- Subject: Re: Vertically-expanding NSTextField
- From: Uli Kusterer <email@hidden>
- Date: Thu, 11 May 2006 12:38:22 +0200
Am 11.05.2006 um 08:25 schrieb Andrew Bowman:
I'd like to get the appropriate code to fit nicely into a method
which can be called from the textDidChange and viewDidEndLiveResize
methods of an NSTextField subclass. I'd like to avoid using a
scroll view if possible.
Aspects of this topic have been covered previously on cocoa-dev and
at cocoadev.com, but I've never been able to get any of the
solutions to work properly. Suggestions, tested code snippets, and
your patience are all appreciated.
What system version are you deploying to? There are various
oddities with OS X where e.g. on 10.2 sizeToFit would somehow make
the text view to small... you'll definitely need to test this on all
targeted systems.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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