I am unable to find a solution to maintaining consistant space between objects/groups/symbols when those symbols are in a group and i try to resize the group to adapt to a different screen size:
Is this possible with Sketch, i have looked online and found no similar issues being asked or any solution.
Hi @AACourt, there is a way to do this now.
Just space your layers as you normally would. Then:
- Apply Smart Layout to the group, choosing the layout direction you want. Note: you have to enable this feature via Sketch > Experimental Features.
- Select the layers you want to resize, not the group itself. Tip: I think the fastest way is to press Enter to dive into the group followed by ⌘A to select all its children.
- Resize, and the spacing will be maintained.
Here’s a demonstration:
Topic moved to the Ask the community section.
Ah I see so you are only selecting the objects inside the group rather than the group itself.
May not solve the issue for my designers using symbols as I just checked and i’m unable to select the 2 symbols inside a parent symbol as there is no handle
Understood, thanks for the insight on that. We’re discussing whether or not we want this behavior to happen when resizing the group itself. It seems obvious in this case, but we have to be careful and give it thorough consideration — changing this behavior may be a pretty substantial change that could affect cases where this may be undesirable and catch people by surprise. We’ll continue to discuss it.
Ah yes understandable, it could mean a major change.
We are spending a bit of time trying to be more efficient with our symbols to avoid users having lots of options for different screen sizes, we have reduced the number of many symbols thanks to the new Smart layout. But often get asked these questions by our team.
Thanks for the confirmation and your help, i will see what we can do with solution you shown in the mean time.