Re: Views without any layout constraints may clip their content or overlap other views

2019-09-26 Thread Laurent Daudelin via Cocoa-dev
Thanks, Quincy. That’s reassuring! I will trust I’m doing the right thing. -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com Skype: LaurentDaudelin

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-26 Thread Quincey Morris via Cocoa-dev
On Sep 26, 2019, at 10:55 , Laurent Daudelin wrote: > > I’m pretty much in the same situation. There seems to be something going on > behind the scene. I also observed that when I started adding constraints, I > would suddenly get many warnings and errors, some alluding to missing “y" >

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-26 Thread Laurent Daudelin via Cocoa-dev
I’m pretty much in the same situation. There seems to be something going on behind the scene. I also observed that when I started adding constraints, I would suddenly get many warnings and errors, some alluding to missing “y" location where I can clearly see one constraint addressing that “y”

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-26 Thread Richard Charles via Cocoa-dev
> Excerpt from Xcode 11 release notes originally quoted by Quincey Morris. > > NSView and UIView have a layout mode option in the Size inspector to > explicitly opt into “translates autoresizing mask into constraints”. The > default setting is “Automatic”, which is the existing behavior.

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-26 Thread Laurent Daudelin via Cocoa-dev
I just checked this Quincy. What I observe is that the top view in my windows have the setting set to “Translates autoresizing mask into constraints” but all the other subviews are set on “Automatic”. Should I leave it that way? This is an old project predating the auto-layout, by the way.

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-23 Thread Quincey Morris via Cocoa-dev
> On Sep 23, 2019, at 13:58 , Laurent Daudelin via Cocoa-dev > wrote: > > OH?!? That’s why I can’t find it. And now that you mention Xcode 11, I > remember having to install the command line tools a couple of days ago. It > must have been automatically updated as it is my current setting in

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-23 Thread Laurent Daudelin via Cocoa-dev
;> On Sep 23, 2019, at 8:06 AM, Gabriel Zachmann via Cocoa-dev >>> wrote: >>> >>> Recently, I am getting lots of warnings saying >>> "Views without any layout constraints may clip their content or overlap >>> other views" >>>

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-23 Thread James Walker via Cocoa-dev
On 9/23/19 8:30 AM, Richard Charles via Cocoa-dev wrote: On Sep 23, 2019, at 8:06 AM, Gabriel Zachmann via Cocoa-dev wrote: Recently, I am getting lots of warnings saying "Views without any layout constraints may clip their content or overlap other views" when I build my sc

Re: Views without any layout constraints may clip their content or overlap other views

2019-09-23 Thread Richard Charles via Cocoa-dev
> On Sep 23, 2019, at 8:06 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > Recently, I am getting lots of warnings saying > "Views without any layout constraints may clip their content or overlap other > views" > when I build my screen saver. Try this. In Xcod

Views without any layout constraints may clip their content or overlap other views

2019-09-23 Thread Gabriel Zachmann via Cocoa-dev
Recently, I am getting lots of warnings saying "Views without any layout constraints may clip their content or overlap other views" when I build my screen saver. In my case, I ons't think that warning is really important, since the GUI is not resizable (it's just an op