Text Box MultiLine how to remove scroll bar

hi,

How can i remove the scroll bar from the TextBox MultiLine so that when the player types and reaches the end of the text box it automatically jumps to the second line. Like when you use Word.

Image shows a page where player can input text but if they dont manually change lines with enter it just goes forever and it doesn’t look nice.

Have you checked this tutorial video about the multiline text box?

Thanks for the answer. ye si have seen it but thats when you enter text with a BP or code, what if the player is the one that opens it ingame and starts typing, i want it to line break by itself while he is typing.

Hey Revzor-

If you select the multi-line text box in your widget blueprint, you should be able to find the options for Auto Wrap Text (boolean) and Wrapping Policy. Setting Auto Wrap to true will allow the text to wrap to a new line based on the Wrapping Policy. By default Wrapping Policy will wrap at each new word, meaning text will continue on a single line until a space, then return to a new line to continue after the space. You can also set it to Allow Per Character Wrapping which will break words up to wrap to a new line whenever the end of the box is reached.

Cheers

Hi , this works fine, the only problem is that when the player just spams 1 letter or a very very long word like “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa” it doesnt break line, the scroll bar appears wich i want to remove if posible.

Thanks for your help.

You can use the Allow Per Character Wrapping option to break up long words where they meet the end of the text box.

122484-textwrap.png