LibGDX Textfield - Text Overflow - Not Wrapping

In my app's registration screen, the textfield is not wrapping text as I expected. Notice in the above image, the email field is not containing the text. I have set the size of the textfield using setSize() method but I couldn't find any way to wrap text. Is there any solution to this?

I'm using LibGDX v1.9.0.

EDIT: I don't have problem with overflowing but I think it should be hidden beyond the textfield borders.

UPDATE: It was indeed carelessness from my part. I actually included a padding to the textfield position which I didn't correct when defining its size. Issue got solved now. I don't know whether I should keep the question or delete it.

The libGDX TextField is, according tho the API specification, a "A single-line text input field.".
• @BlackPanda Can you show more of your layout code? TextField will scroll the text inside its bounds if more text that can be showed is inputted so it looks like it's your layout that's the problem here. Apr 19, 2016 at 14:25