TextField split edit text into lines if press enter

If i create this field with my GUIStyle input text split if i press enter
if create by default, TextField work correct

How i can use by GUIStyle and TextField without split lines?
Thanks

It’s possible you’ve discovered a bug here, but there’s just one thing I can think of worth checking. Does it make any difference what setting you use for the word wrap on your GUIStyle?

yeah, same to me. I found this post looking for a solution :frowning: .

I think that a good solution is to detect if the user pressed the enter key using GUI.event.