Hi Oscar,
It’s good to see you back here. Thanks for sharing the screenshot.
Your Overrides question fits this post better. The one you referenced is about how to preserve dimensions when swapping, whereas you want the opposite: swap with the new size.
This is a change introduced in version 2025.2. Before this version, when you had nested symbols inside a stack, you’d swap with the dimensions of the target symbol.
The change was done to unify swapping behaviors, we used to have two:
- Preserve dimensions when swapping outside stacks
- Use new dimensions when swapping inside stacks
In 2025.2 and later versions, nested symbol overrides will now swap keeping the original symbol dimensions. In this case, since the size (and ratio) are different, the symbol will stretch or squish.
So, how to get the size you want? You need to add layout to the symbols you’re swapping. The team has discussed this change thoroughly and we know there’s room for improvement. We’ll get there. But for the time being, adding layout gets you the result you want.
Swap different ratio symbols.sketch (38.7 KB)
This covers bullet points one and two (behavior wise, we’re aware of the differences with flexbox).
About point no.3, we’ve also discussed it, and I’ll pass this along to the team so they’re aware of the interest.
Negative spacing
Negative spacing is currently not supported in stacks, the team’s aware and tracking interest here
Just for the record, negative spacing in layers has always been possible outside stacks.
Custom offsets for children
You can get custom offsets by wrapping child elements in a new stack. You can add as many nested stacks as needed. If you run into any issues, you can share a screen and I’ll take a look.