• 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: Dave <email@hidden>
  • Date: Fri, 04 Sep 2015 18:48:25 +0100

Hi,

> 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.


What I’d dearly love to know right now is how to setup the Constraints for a Scroll View and Clip View etc. in XCode/IB for Mac.

If I have a window in a NIB like this:

Window								Initially - Width=846, Height=594
	View
		ScrollView					Initially - X=20,Y=20, Width=806, Height=554
				Flipped Clip View
						View

How do I set the constraints for the above Views in XCode/IB?

I want the Scroll View to Stretch/Contract if the window is resized.

After this, I’d like to add a StackView to the Scroll View (in XCode/IB) and have it Match the Size/Position of the Scroll View.

I’ve found (sketchy) articles describing how to it in XCode/IB for iOS and I’’ve found (again sketchy) an article how to do it in Code for Mac.

Ideally I’d like to be able to do this and target 10.9 and using XCode 6.4.

All the Best
Dave


_______________________________________________

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

  • Prev by Date: Re: 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