Create multiple scale buttons

Is there any possibility to keep the spacing at 12px when I add two buttons next to each other when changing the label text(s) inside the buttons?

Currently, the two buttons overlap each other.

Hi, Nassera.

Yes. That’s possible using auto-layout.

More about auto-layout here:

On this kind of elements, on too of what @Raphael_M explained, we also add:

Thank you @Raphael_M, I’ll check it out!

Also thanks for sharing these links @Bogriceanu_Sorin