Padding between components when one of them has variants with different sizes

Please search for existing topics before posting! Press :mag: at the upper right to search.

Hello, I’m building a left side menu that collapses when we clic on it to give the use enough space for working. I’m trying to do it with the interactive variants feature and it works. However, I’d also like to adapte the position of the other components so everything move together. Here are 2 screen shots, in my case, the header bar doesn’t move when I collapse the left menu weight. Somebody can help me with that? I’ve tried to play around with the auto-layout feature but it’s not working so far.

Thank you very much!