TextEdit layout issue

Godot 4.2.2

I have a problem with TextEdit that I can’t solve: in short, what I want to do is set a limit of 15 lines and 35 columns within which the text can be written. For example, if on a particular line I exceed 35 characters while typing, I want the text to continue on a new line. If I try to exceed the 15 lines of text, I want the text to stop.
I’ve tried several times, but without success.
Can anyone help me? Thank you!

I think for this to work consistently you have to use a monospaced-font. Im not sure though

Can you post the formatted code of what you tried?

Nevermind, I found a workaround.

1 Like