Jump to content
You must now use your email address to sign in [click for more info] ×

Constraints cascade not working as expected with children locked


Recommended Posts

Hi, it might not be a bug but it sure seems weird to me.

Here is my layout, all elements have constraints applied to them except the main container and the content.

338704224_Capturedcran2020-04-2720_02_00.png.bbd58d82b5a93ac9ef3a9a920a3a931a.png1240709705_Capturedcran2020-04-2720_05_21.png.1d07664e9fed235218d8a85cd315be70.png

When I lock the children and resize the Inside container the behavior is exactly as intended. The content isn't affected while the Outline is keeping the same size as the Inside container and  the Gradient width is resizing to match and the position at the bottom is maintained. Perfect !

Now, if I resize the Main container, the Content is resized as if the children weren’t locked.

My test file is attached 😊

cascading-constraints-test.afdesign

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.