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"

Auto Resizing Text Box?

Not a bug, but I can't find a section for Feature Requests so I'm putting it here:

Can you guys add an automatically resizing UMG Text Box? For instance, if the text the player enters gets too long, or a generated statement gets too long, the text in the box would get reduced in size to allow the text to fit. And if there was room to spare, the text would get as large as the vertical height of the box would allow.

This would be VERY helpful to stop text from scrolling out of view when it can't fit a box.

I have automatically generated random names for many things in my game, and certain combinations can shoot right out of the text box. I've had to add a 2nd line for the text, but then there's alot of empty space most of the time. I've seen other games shrink down text to fit, so I'd just like to see that in Unreal.

Product Version: UE 4.10
Tags:
more ▼

asked Jan 18 '16 at 07:39 AM in Using UE4

avatar image

MaxSMoke777
138 14 17 37

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

1 answer: sort voted first

It's easily doable. Just wrap the text box with a scale box.

more ▼

answered Jan 18 '16 at 11:12 AM

avatar image

vipeout
374 14 10 25

avatar image Rudy Q ♦♦ STAFF Jan 18 '16 at 02:19 PM

As mentioned by Vipeout, this could be accomplished with the tools available in UMG. You could use a combination of scale box and size box to achieve the result that you are looking for. I hope that this information helps.

Make it a great day

(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