Re: 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
- Subject: Re: Views without any layout constraints may clip their content or overlap other views
- From: Laurent Daudelin via Cocoa-dev <email@hidden>
- Date: Thu, 26 Sep 2019 10:44:32 -0400
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.
-Laurent.
--
Laurent Daudelin
email@hidden <mailto:email@hidden>
Skype: LaurentDaudelin
iMessage – WhatsApp – Viber – Line
Logiciels Némésys Software
http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
> On Sep 23, 2019, at 20:26, Quincey Morris
> <email@hidden> wrote:
>
>> On Sep 23, 2019, at 13:58 , Laurent Daudelin via Cocoa-dev
>> <email@hidden <mailto:email@hidden>> 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 the App
>> Store app.
>
>>
>
>> Thanks James, I won’t search for it anymore!
>
>
> From the Xcode 11 release notes:
>
>> NSView <https://developer.apple.com/documentation/appkit/nsview> and UIView
>> <https://developer.apple.com/documentation/uikit/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. “Automatic” implies that “translate autoresizing mask
>> into constraints” is off when a view affect by constraints in the storyboard
>> or .xib file, but on if unconstrained. (37352354)
>> Improved the reliability of Auto Layout constraint generation with “Add
>> Missing Constraints”. (43694622)
>
>
_______________________________________________
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