Re: NSScrollView & its width
Re: NSScrollView & its width
- Subject: Re: NSScrollView & its width
- From: Knut Lorenzen <email@hidden>
- Date: Sat, 6 Feb 2010 00:32:00 +0100
Am 05.02.2010 um 17:41 schrieb Ross Carter:
>> I've tried setting the documentView's frame width to the width of the largest picture. That sort of works, but as soon as the window (or the view) is resized, everything snaps back to the undesired state.
>
> Try using setMinSize: on the NSTextView.
Thanks for responding, Ross.
Your idea suffers from the same problem, namely that as soon as the window/view is resized, everything snaps back.
___________________________________________________
Dipl.-Phys. Knut Lorenzen
<http://Knut.MacDisk.de>
_______________________________________________
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