Fwd: deactivating an NSScrollView
Fwd: deactivating an NSScrollView
- Subject: Fwd: deactivating an NSScrollView
- From: アンドレ(Andre) <email@hidden>
- Date: Sat, 9 Apr 2005 10:14:23 -0700
Well, is your scrollview set to automatically resize?
If so, then is the subview set to scale larger or static with its
superview?
Autosizeing and setting the min size should be enough, it should
scale with the scrollview as it expands.
If you want to toggle this off and on, then you'll have to set those
behaviors explicitly in code.
Andre
On 平成 17/04/09, at 9:45, Geoff Levner wrote:
Sorry to insist, but I am not sure how to interpret the resounding
silence in response to my question. Is this a stupid question? Or
is the only solution to rearrange the view hierarchy when switching
between scroll and zoom-to-fit modes?
Apologies to all if my first interpretation is correct (I asked a
stupid question)...
Geoff
On 8 Apr 2005, at 17:57, I wrote:
Can any Cocoa gurus out there tell me if there is a simple way to
"deactivate" an NSScrollView, that is, to make it behave as if the
document view were attached directly to the NSScrollView's
superview? Our application displays a PDF image in a scrolled
view, but sometimes we would like for the image to resize itself
to fill the view rather than scrolling....
_______________________________________________
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
_______________________________________________
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