• 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: ScrollView Programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScrollView Programming


  • Subject: Re: ScrollView Programming
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 05 Apr 2011 23:47:31 -0700

On Apr 5, 2011, at 23:28, Quincey Morris wrote:

> Almost certainly your problem is that you failed to set the autoresizing springs correctly for the "document" view. In the simplest case, it should be anchored on all 4 sides, and be stretchy in both directions.

Gah! Said that backwards. If you do the above, it will of course never scroll because it will always get resized to the size of the clip view. It needs to be *bigger* than the clip view for scrolling to happen.

If it's just a view full of controls, it shouldn't be set to resize automatically at all.


_______________________________________________

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

  • Follow-Ups:
    • Re: ScrollView Programming
      • From: Jeffrey Walton <email@hidden>
References: 
 >ScrollView Programming (From: Jeffrey Walton <email@hidden>)
 >Re: ScrollView Programming (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: ScrollView Programming
  • Next by Date: Re: diable localization
  • Previous by thread: Re: ScrollView Programming
  • Next by thread: Re: ScrollView Programming
  • Index(es):
    • Date
    • Thread