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?

262147-was.gif

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).

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?

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

265782-textwrapfix.jpg