Flexible center label


I’m just wondering how/if it’s possible to align three objects with this format, where the center label is flexible in length?

button -- label -- button

So I could pin both buttons to the top of the screen and the side, define their height and width and allow the label if I pinned both sides to the it’s nearest button. Would it become flexible in length? Is that the best way to achieve this?

That should work. The label will take up all the space between the two buttons. Setting the label attributes to center the label’s text should give you what you want.

Have fun!

1 Like

Thanks so much for your help as always!

1 Like