• 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: Adding Constraints in Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding Constraints in Code


  • Subject: Re: Adding Constraints in Code
  • From: Dave <email@hidden>
  • Date: Mon, 14 Sep 2015 18:18:40 +0100

I’ve looked at that and have in fact based some of my code on it. Unfortunately InfoBarStackView isn’t very “real-world” and I can’t use it as is. This code works fine, I just need to know how to make a view added to a NSScrollView/StackVIew Combo stretch to the Right of the ScrollView.

The other constraints are setup more or less the same as as “InfoBarStackView” and I actually do have a View that works in that it stretches to fit the ScrollVIew in H when the window is resized. This view is setup as so:

LTWDetailYView
	StackView
		ControlViews added here.

LTWDetailXView
	ControlViews added here.

This is added to the same StackView, e.g.

NSScrollView						Setup in NIB
	NSFlippedClipView				Setup in NIB
		NSStackView				Setup in NIB
			LTWDetailXView		(added dynamically in code).
			LTWDetailYView		(added dynamically in code).  *********Stretches in H**********

I’ve actually put out a DTS Incident on this, but have not heard anything back as yet. Does anyone know how long it usually takes them to get back to you?

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


References: 
 >Adding Constraints in Code (From: Dave <email@hidden>)
 >Re: Adding Constraints in Code (From: Iain Holmes <email@hidden>)
 >Re: Adding Constraints in Code (From: Dave <email@hidden>)
 >Re: Adding Constraints in Code (From: Dave <email@hidden>)
 >Re: Adding Constraints in Code (From: Dave <email@hidden>)
 >Re: Adding Constraints in Code (From: "Gary L. Wade" <email@hidden>)

  • Prev by Date: Re: Adding Constraints in Code
  • Next by Date: Re: Adding Constraints in Code
  • Previous by thread: Re: Adding Constraints in Code
  • Next by thread: best way to implement a clickable grid?
  • Index(es):
    • Date
    • Thread