Re: Adding Constraints in Code
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