Description

When using a Text Box with multiple lines inside a Retainer, the lines overlap with each other depending on the letters. It doesn't look this way in the Widget Designer. Additionally, it doesn't look this way without the retainer box. You can observe the difference by adding a Set Retain Rendering node after the Add to Viewport node and toggling the In Retain Rendering boolean on and off.

 

Tested in //UE4/Release-4.25 @ CL 14469661 and this issue did not occur, so marking as a Regression.

Steps to Reproduce
  1. Create a Third Person Blueprint project
  2. Create a Widget Blueprint
  3. Add a Retainer Box to the Widget BP
  4. Add a Text Box (Multiline) into the Retainer Box
  5. Write several lines of text in the box, using Shift-Enter to create multiple lines
  6. Navigate to the ThirdPersonCharacter BP
  7. Add an Event Begin Play node
  8. Add a Create Widget node and set the Widget class to the Widget BP you just created
  9. Add an Add to Viewport node to the Create Widget node
  10. Play the game

RESULT:

The spacing between the lines is different from what it appears like in the Widget BP designer and they overlap each other.

EXPECTED:

The retainer box wouldn't change the spacing of the text once in game.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-114934 in the post.

8
Login to Vote

Unresolved
ComponentUE - Editor - UI Systems
Affects Versions4.26.25.1
Target Fix5.2
CreatedMay 4, 2021
UpdatedOct 5, 2022