UMG autowrap makes text flicker upon appearing
I have an UMG issue where the text flickers a millisecond upon appearing in the game. In that millisecond it seems that the text widget does auto wrapping to make the words fit in the text box. One can see that UMG re-arranges the words in textbox that millisecond. This holds even true if the text is a variable. My hierarchy is: Border - Canvas Panel - Text (see attachment) .
Is it possible to get rid of this small flicker? It is a small thing which adds up and diminishes the quality experience.
asked May 25 '17 at 01:28 PM in Using UE4
You can try fixed-width wrapping. Uncheck "Auto Wrap Text" and in the "Wrap Text At" field underneath it, enter the width that you want to wrap at (normally the length of the Text, or a few pixels less).
answered Jun 19 '17 at 04:37 PM
Slate layout happens in a single-pass, and the comment for auto-wrapping states that it will have a 1-frame delay.
If you don't want that artefact then you'll have to used fixed-width wrapping (note that fixed-width wrapping may still be bound to something that changes its width, it just means that it's not automatically computed once the desired size is known).
answered May 25 '17 at 01:36 PM
Jamie Dale STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here