Re: deactivating an NSScrollView
Re: deactivating an NSScrollView
- Subject: Re: deactivating an NSScrollView
- From: アンドレ(Andre) <email@hidden>
- Date: Sat, 9 Apr 2005 16:12:17 -0700
On 平成 17/04/09, at 13:08, Geoff Levner wrote: Presumably NSScrollView is set up *not* to resize the document view, which is the behavior one would usually expect. What I would like to know is, is there a way to configure NSScrollView so that it *does* resize the document view...
Yes, subclass.
In the - tile method might be appropriate. Or in the - setContentView method set the auto-sizing to whatever default you want (horizontal vertical). You may firstly try setting setAutoresizesSubviews to YES on the scrollview and see what happens. Before subclassing that is. |
_______________________________________________
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