Question about the TextBox

Hello everyone. Actually, I have a question for all of you. Is it possible to make textBox automatically scalable? That is, its height would change during the writing of the text.

If this is what you are talking about Solar2D Documentation — API Reference | type | TextBox
Then TextBoxes already have scrollbars, and when you create an object and set it’s width and height to something then whenever you exceed the width value while typing text will be typed in a new line … you can do a small hack … I’m not sure if this is the best way but in the listener event inside editing phase you can always check the height of the text by assigning the text value to a hidden text object (with fixed width equal to textbox width), get the height of this object and finally set the height of the textbox to the height of the text object …