Centering a group of controls based on the length of text

I am working with two text controls with different font styles, and I would like for both controls to be centered in a container. So when the length of text of the one control changes, the other control should also reposition. Is there a way to do this with the Storyboard Designer? I have tried putting them into a group and centering the group. But this only centers based on the fixed control width and does not take into account the changing length of text. I am looking for something similar to the QHBoxLayout from Qt.

0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post