Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-08 Thread Dave
Hi All, > On 7 Sep 2015, at 22:12, Ken Thomases > wrote: > > On Sep 7, 2015, at 3:14 PM, Dave > wrote: > >> Thanks a lot for this. > > You're welcome. There is so little info I

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-08 Thread Dave
I’ve put a snapshot of my Test Project in a drop box: https://dl.dropboxusercontent.com/u/207696951/LTWALTest1.zip If anyone is interested. All the Best Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-08 Thread Dave
The Window Screen Shot is at: https://dl.dropboxusercontent.com/u/207696951/dump1.png ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-07 Thread Dave
Made a mistake, should be; Horizontal Space StackView.Trailing Equal FlippedClipView.Trailing-1, 1000, 1*Constant = -1 Vertical Space StackView.TopEqual FlippedClipView.top 0, 1000, 1 Horizontal Space StackView.Leading Equal

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-07 Thread Ken Thomases
On Sep 7, 2015, at 3:14 PM, Dave wrote: > Thanks a lot for this. You're welcome. >> You should set leading and trailing constraints between the stack view and >> the clip view so that the stack view is as wide as the clip view. > > I’ve got the following constraints

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-07 Thread Ken Thomases
On Sep 7, 2015, at 2:40 PM, Dave wrote: > The ScrollView/StackView combo that myDetailView added to on the > addView:inGravity call, is wider than the DetailView. What I’d like to happen > is that the Detail is Stretched/Shrunk to match the width of the Scroll >

Re: Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-07 Thread Dave
Hi Ken, Thanks a lot for this. > You should set leading and trailing constraints between the stack view and > the clip view so that the stack view is as wide as the clip view. I’ve got the following constraints on the StackView: Horizontal Space StackView.Trailing Equal

Auto Layout, NSScrollView and NSStackView - Adding View to StackView

2015-09-07 Thread Dave
Hi, I almost have the desired effect for the Auto Layout, NSScrollView and NSStackView combination with everything setup in a NIB. There is one thing left I need to do - please see following code: -(void) awakeFromNib { LTWDetailXView* myDetailView; NSInteger