How do I set Multi-line text box's number of lines and characters?
Hey everyone, I have a multi line text box that I want to set at a fixed height. It's currently inside a horizontal box, nested inside a vertical box.
I can only do one line and i have to press enter to grow the text box in PIE. I can shift+enter to enter more lines in the text field within the widget blueprint but the text box will grow and expand. Is there any way to do this? I can't find an answer on here!
asked Aug 08 '17 at 03:02 PM in Blueprint Scripting
Sizing in widgets is controlled by the parents in Slate/UMG. Since the Horizontal Box only cares about available space and letting children either fill or autosize based on desired size, it doesn't have that ability.
So you need to use the Size Box, wrapped around the MLEditableTextBox if you need it to be sized a specific amount.
answered Aug 08 '17 at 07:17 PM
Nick Darnell ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here