Re: Automatically resize parent view when subviews resize

2014-04-14 Thread lorenzo
On 2014-04-14 12:39, Kyle Sluder wrote: On Mon, Apr 14, 2014, at 10:20 AM, lorenzo wrote: On 2014-04-14 09:28, Fritz Anderson wrote: > > What constraints are you putting on the subviews you add dynamically to > A and B? The subviews, a subclass of NSView, are made up of three views, a vertical

Re: Automatically resize parent view when subviews resize

2014-04-14 Thread Kyle Sluder
On Mon, Apr 14, 2014, at 10:20 AM, lorenzo wrote: > On 2014-04-14 09:28, Fritz Anderson wrote: > > > > What constraints are you putting on the subviews you add dynamically to > > A and B? > > The subviews, a subclass of NSView, are made up of three views, a > vertical NSSlider, an NSTextfield r

Re: Automatically resize parent view when subviews resize

2014-04-14 Thread lorenzo
On 2014-04-14 09:28, Fritz Anderson wrote: On 13 Apr 2014, at 11:01 PM, Lorenzo Thurman wrote: I have an NSView with two subviews (A & B) placed horizontally with respect to each other. The subviews can take a variable number of uniformly sized subviews. I’ve placed these constraints on subv

Re: Automatically resize parent view when subviews resize

2014-04-14 Thread Fritz Anderson
On 13 Apr 2014, at 11:01 PM, Lorenzo Thurman wrote: > I have an NSView with two subviews (A & B) placed horizontally with respect > to each other. The subviews can take a variable number of uniformly sized > subviews. I’ve placed these constraints on subviews A & B, (all done in IB): > (They sh

Automatically resize parent view when subviews resize

2014-04-13 Thread Lorenzo Thurman
I have an NSView with two subviews (A & B) placed horizontally with respect to each other. The subviews can take a variable number of uniformly sized subviews. I’ve placed these constraints on subviews A & B, (all done in IB): (They should both have the same height) Top space to container Bottom