TextInput get maxLength if align is center

When i past long text to text input and the text align is "center" the string cut

When you paste? And what do you mean by cut? Is it gone or missing? It should go off each side so you have to use your cursor arrows to get it.

That happens even when i type the text its cant type more from the textInput width.

You can set the width to -1 so that it keeps expanding.