x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!

Product Version: UE 4.16
Tags:
more ▼

asked Aug 08 '17 at 03:02 PM in Blueprint Scripting

avatar image

Kagamusha
173 37 33 44

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Aug 08 '17 at 07:17 PM

avatar image

Nick Darnell ♦♦ STAFF
6k 77 37 151

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question