# UMG autowrap makes text flicker upon appearing

**URL:** <https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567>\
**Category:** UI\
**Tags:** flicker, text, unreal-engine, question, UMG\
**Created:** [May 25, 2017, 1:28pm UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567 "2017-05-25T13:28:57Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 16, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567/22 "2024-02-16T14:39:45Z")

</div>

Once reproduced (thanks for patience, btw!) it’s pretty horrible to look at, indeed. It seems we’d actually need 2 full frames before this is ready.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/0/bd0fdb05ef4ff514d135c3dda267b64063d7524d.png)

I started with render Opacity 0.

* * *

ForceLayoutPrepass does not help in this scenario. Another note, this only manifest when the widget is **first** constructed. Further updates handle desired size well.

---

<div class="post-metadata">

**Author:** ![Daerst](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daerst/32/266918_2.png) [@Daerst](https://forums.unrealengine.com/u/Daerst)\
**Post date:** [February 16, 2024, 4:40pm UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567/23 "2024-02-16T16:40:08Z")

</div>

> [@Everynone](#):
>
> thanks for patience, btw!

Thank you for taking the time to dig into this with me!

> [@Everynone](#):
>
> Further updates handle desired size well.

So if I set a short text, and then later a longer text, the Height of the widget will be updated immediately and the text will not be cropped?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 16, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567/24 "2024-02-16T16:45:37Z")

</div>

> [@Daerst](#):
>
> So if I set a short text, and then later a longer text, the Height of the widget will be updated immediately and the text will not be cropped?

Yes. This seems to be related to the widget being constructed. If you can construct ahead of time and later hide / show (rather than add / remove from viewport, which would trigger construct), it seems to behave pretty normal. And that’s without Delay or Prepass.

---

<div class="post-metadata">

**Author:** ![kev16j](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kev16j](https://forums.unrealengine.com/u/kev16j)\
**Post date:** [May 17, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567/25 "2024-05-17T13:08:08Z")

</div>

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![mortsnort](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mortsnort](https://forums.unrealengine.com/u/mortsnort)\
**Post date:** [February 5, 2025, 5:57am UTC](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567/26 "2025-02-05T05:57:09Z")

</div>

I’m pretty sure I was having this same issue well after a widget was constructed. My experience was that the issue seemed related to the first time the text is rendered with auto-wrap. My hacky workaround is to first display a bunch of spaces (as in spacebar presses) before trying to render the text I wanted to not flicker.

[Previous page](https://forums.unrealengine.com/t/umg-autowrap-makes-text-flicker-upon-appearing/394567.md?page=1)
