Skip navigation.
 
mlFwd: deactivating an NSScrollView
FROM : ?????Andre?
DATE : Sat Apr 09 19:14:23 2005

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
>

Related mailsAuthorDate
mlFwd: deactivating an NSScrollView ?????Andre? Apr 9, 19:14
mlRe: deactivating an NSScrollView Geoff Levner Apr 9, 22:08
mlRe: deactivating an NSScrollView ?????Andre? Apr 10, 01:12