How do you make textbox length = text length?

How to make textbox length = text length? Simply way?
For every textbox?
Thanks

Why ?

Automatic doesn't do this?

1 Like

Try using automatic mode, but set in blocks.
blocks - 2023-10-27T201106.081

It works from the blocks, not from the designer.

4 Likes

And how to make it for all Textblocks?

Use a "for each item in list" loop to iterate over the every TextBox block, which returns a list of every TextBox, and use the corresponding Any Component block for Width inside the loop.
For example:

If you want to exclude some TextBoxes from this change, you will have to make a list of all the components that require changing manually, and iterate over it.

1 Like