Swapping nested symbols within a symbol

It would be great if I swapped two symbols nested within another symbol, so that it would take on, it’s original height.

For example, if I have an element of 24px in height, and I replace it with a button of 48px height, the button is stuck at 24px.

It would be great to have the option to inherit the original symbol height.

Is your original button in a symbol itself? If so, you can achieve this today using vertical layout.

Yeah both are symbols.

Would you be able to send me a demo of this in action and the autolayout applied to each?

Thanks!

Key phrase in my question was “in a symbol itself”… meaning if your buttons are in another symbol, you can use auto layout to get what you seek. Attached is an example…

Auto Layout Example.sketch (16.5 KB)