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"

Why does it take a second to wrap text when loading a widget?

I'm currently working with text wrapping in the UMG, and can't figure out why it takes a split second for the UMG to wrap the text when I load a widget. I've looked around online, but can't seem to find anything that talks about this. Is it this a setting, bug, or something simple that I've completed missed?alt text

Product Version: UE 4.20
Tags:
was.gif (1.1 MB)
more ▼

asked Dec 12 '18 at 05:01 PM in Blueprint Scripting

avatar image

MINIME453
1 1 1

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Under wrapping set the value "Wrap text at" to whatever the max screen width you want the text to be. solves this problem completely.

alt text

textwrapfix.jpg (13.4 kB)
more ▼

answered Jan 18 '19 at 05:33 PM

avatar image

MINIME453
1 1 1

(comments are locked)
10|2000 characters needed characters left

This has to do with the draw call for a widget. The dimensions are only calculated after the initial pass on a widget, all adjustments are being done once the dimensions are calculated.

Generally, you will notice this happening a lot if you have text that is created and added to any kind of container (scroll box, size box, vertical box, horizontal box, etc).

more ▼

answered Dec 12 '18 at 05:31 PM

avatar image

MajinSephiroth
1.1k 30 8 32

avatar image MINIME453 Dec 13 '18 at 02:59 PM

Interesting. Are there any good ways to make the widget calculate this before it's on screen in order to keep it from doing this?

(comments are locked)
10|2000 characters needed characters left
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