Re: Auto Layout Question

2017-05-24 Thread Quincey Morris
On May 24, 2017, at 08:52 , Dave wrote: > > Maybe I am going about this in the wrong way? Using stack views seems like the hard way. Why can’t you apply constraints directly to the 4 views? I’d suggest adding constraints to the labels to center them over their graphic views, with a fixed vert

Re: Auto Layout Question

2017-05-24 Thread Saagar Jha
Could you attach a screenshot? You got cut off in the middle, so it’s hard to fully understand how the sizes relate. Saagar Jha > On May 24, 2017, at 08:52, Dave wrote: > > iOS Project. > > Hi, > > I’m trying to do something with auto layout and I can’t seem to get it right. > > I want to c

Auto Layout Question

2017-05-24 Thread Dave
iOS Project. Hi, I’m trying to do something with auto layout and I can’t seem to get it right. I want to create a View that holds a Text Field and a View. Call these LabelA and ViewA. I want the Text to appear above the view and i want the View to have the same aspect ratio (which is 1:1). I t