• 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: Problem controlling a NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem controlling a NSScrollView


  • Subject: Re: Problem controlling a NSScrollView
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 21 Jun 2010 09:20:15 -0700

On 2010 Jun 21, at 07:42, Anders Sommer Lassen wrote:

> How can I get the custom view to known about the change in size due to the newly added scrollbar?

The scroll view's content view should have its autoresizesSubviews set to YES.  Thus, when this content view is resized to accommodate the scroller, your custom view should be getting a setFrame: message.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem controlling a NSScrollView (From: Anders Sommer Lassen <email@hidden>)

  • Prev by Date: Re: Memory management on returning nil in init
  • Next by Date: Re: Memory management on returning nil in init
  • Previous by thread: Problem controlling a NSScrollView
  • Next by thread: Memory management on returning nil in init
  • Index(es):
    • Date
    • Thread