• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: deactivating an NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Fwd: deactivating an NSScrollView (From: アンドレ(Andre) <email@hidden>)
 >Re: deactivating an NSScrollView (From: Geoff Levner <email@hidden>)

  • Prev by Date: Re: ADC Core Data article
  • Next by Date: Re: ADC Core Data article
  • Previous by thread: Re: deactivating an NSScrollView
  • Next by thread: Re: deactivating an NSScrollView
  • Index(es):
    • Date
    • Thread