Is there a way to expand the box side ways?

I’m add a text element onto a normal box element, the box expands down-words but not side ways, is it possible?

Ps. I’m changing the text element with code so that may be the problem?

Please share the code you are using.

1 Like