m.vlad Posted August 15, 2019 Share Posted August 15, 2019 For some reason layers also get changed into constraint groups when a layer underneath gets constraints? Is there a way to stop this behaviour other than group the layer/s? 2019-08-15_11-48-58.mp4 Quote Mădălin Vlad Graphic Designer contact@mvlad.design https://mvlad.design Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 15, 2019 Staff Share Posted August 15, 2019 Hi @m.vlad, I don't follow you on this. What do you expect to happen when you apply constraints to those objects? Constrains do not exist outside groups. Thanks, Gabe. Quote Link to comment Share on other sites More sharing options...
m.vlad Posted August 15, 2019 Author Share Posted August 15, 2019 2 hours ago, GabrielM said: Hi @m.vlad, I don't follow you on this. What do you expect to happen when you apply constraints to those objects? Constrains do not exist outside groups. Thanks, Gabe. Not do anything or treat the artboard as the constraint group. I don't expect it to change a layer into a group. Also slightly unrelated, but constraints group cropping into the elements works fine for the most part, but they also crop the layer effects like drop shadow. Meaning one has to add the effect to the entire constraints group if at all. Quote Mădălin Vlad Graphic Designer contact@mvlad.design https://mvlad.design Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 16, 2019 Staff Share Posted August 16, 2019 A layer evaluates its size from its contents, asking each one where they are: Imagine if one object was assigned the constraint of 'constrain right’ so it asked its parent where the right of the bounds was, if the parent then asks the children where they are it would be a cyclic loop as the parent would be asking the ‘constrained right’ object where it is, which in turn must ask the parent how big it is, which then asks the child whereabouts it is, and so on. A ‘Constraints Group’ is a physical object - it has size and hence doesn’t need to ask the children whereabouts they are, and this is required for constraints to actually operate. The parent of a constrained object must always have physical size and that’s the only reason the ‘Constraints Group’ object exists. It is always used to replace a group/layer when one of the children becomes constrained. 16 hours ago, m.vlad said: Also slightly unrelated, but constraints group cropping into the elements works fine for the most part, but they also crop the layer effects like drop shadow. Meaning one has to add the effect to the entire constraints group if at all. Can you please explain what you mean by this? Quote Link to comment Share on other sites More sharing options...
m.vlad Posted August 16, 2019 Author Share Posted August 16, 2019 2 minutes ago, GabrielM said: A layer evaluates its size from its contents, asking each one where they are: Imagine if one object was assigned the constraint of 'constrain right’ so it asked its parent where the right of the bounds was, if the parent then asks the children where they are it would be a cyclic loop as the parent would be asking the ‘constrained right’ object where it is, which in turn must ask the parent how big it is, which then asks the child whereabouts it is, and so on. A ‘Constraints Group’ is a physical object - it has size and hence doesn’t need to ask the children whereabouts they are, and this is required for constraints to actually operate. The parent of a constrained object must always have physical size and that’s the only reason the ‘Constraints Group’ object exists. It is always used to replace a group/layer when one of the children becomes constrained. Can you please explain what you mean by this? So from your previous description I understand the constraints group acts as a physical container, thus needing a physical size. The issue I've mentioned is that if you group objects with effects that go outside of their alpha and then change that group to a constraints group, the effects get cropped. Would it not be possible to either have the conversion of the group take into consideration the effects size too? Quote Mădălin Vlad Graphic Designer contact@mvlad.design https://mvlad.design Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 16, 2019 Staff Share Posted August 16, 2019 13 minutes ago, m.vlad said: Would it not be possible to either have the conversion of the group take into consideration the effects size too? Good question. Will see what our developers think Quote Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 16, 2019 Staff Share Posted August 16, 2019 Update: For now this is the intended behaviour. It as if you put them inside a clipping rectangle. What you can do is resize the container, therefore resizing the clipping area. But you would need to do this before constraining. Moved to feature requests Quote Link to comment Share on other sites More sharing options...
dedebenui Posted May 6, 2022 Share Posted May 6, 2022 Has there been development on this issue ? It really feels like a bug and the behaviors is unexpected. There should be an option to choose if the constraint groups must crop its content or not. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.