• 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: Auto Layout Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Layout Problems


  • Subject: Re: Auto Layout Problems
  • From: "Gary L. Wade" <email@hidden>
  • Date: Fri, 04 Sep 2015 10:14:52 -0700

It seems your thread keeps changing subjects so it's been difficult to follow your troubles back to something at the start, or maybe something's gotten lost.

If you have a view in a XIB, you can usually choose to embed it in a scroll view (there's a menu item for that) which should take care of your issues, provided that view is the one which changes size.

If it doesn't, look at NSScrollView for a method named something like reflect document size change and call it after changing your view's size.

The scroll view and clip view work together to keep everything coordinated with the document view's size, which just refers to your sizable view that you embedded within a scroll view (a stack view if I've followed things correctly). Be very sure you need another view between them before adding one. If so, that should be the scroll view's document view and you should only handle changing its size.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
_______________________________________________

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: Auto Layout Problems
      • From: Dave <email@hidden>
References: 
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: "Gary L. Wade" <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: "Gary L. Wade" <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)

  • Prev by Date: NSView's in Separate NIB
  • Next by Date: Re: NSView's in Separate NIB
  • Previous by thread: Re: Auto Layout Problems
  • Next by thread: Re: Auto Layout Problems
  • Index(es):
    • Date
    • Thread