Re: deactivating an NSScrollView
Re: deactivating an NSScrollView
- Subject: Re: deactivating an NSScrollView
- From: Hamish Allan <email@hidden>
- Date: Sun, 10 Apr 2005 03:30:10 +0100
It sounds to me like you want two distinct types of display sharing the
same space: one which resizes the image to fit, and one which allows
zooming and scrolling. Perhaps this could be implemented using an
NSTabView with invisible tabs?
Best wishes,
Hamish
On Sat, 9 Apr 2005 22:08:42 +0200, Geoff Levner <email@hidden>
wrote:
The NSImageView is configured to automatically resize. In fact, if I
add it directly to the superview, bypassing the scroll view, I get
pretty much the desired behavior. But I would like to avoid having to
rearrange my view hierarchy to switch between these two modes.
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...
Geoff
_______________________________________________
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