Description

It seems that when playing a Rich Text Block into a Retainer Box, it causes the text inside the yellow row style to have additional spaces added to it. The user who reported this issue also had issues with the text clumping together into unintelligible text, but I wasn't able to get that result. Perhaps due to screen size or resolution. 

I've uploaded what the text looks like in 4.26 and what it looks like in 4.25. Also, there's a test project to examine if you don't want to go through the repro steps: [Link Removed]

This was tested in //UE4/Release-4.25 @ CL 14469661 and this did NOT occur, so marking as a Regression.

Steps to Reproduce
  1. Create a Blank Blueprint project
  2. Create a new Data Table with the RichTextStyleRow structure
  3. Add a new Row
  4. Name it default
  5. Set the Font to Roboto
  6. Set the text color to white
  7. Add another row
  8. Name it yellow
  9. Set the Font to Roboto
  10. Set the text color to white
  11. Create a new widget blueprint
  12. Drag a Retainer Box into the Canvas
  13. Drag a Rich Text Block into the Retainer Box
  14. Set the text as "This is my <yellow>problem</> with rich text"
  15. Set the Text Style Set to the data table you created
  16. In the level blueprint, add an event begin play node
  17. Add a Create Widget Node of the Widget Blueprint you created
  18. Add an Add to Viewport node
  19. Play in Editor

RESULT:

Rich Text has incorrect spacing when placed inside a Retainer Box

EXPECTED:

The text would have the correct spacing when placed inside a Retainer Box

Have Comments or More Details?

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

115
Login to Vote

Fixed
ComponentUE - Editor - UI Systems
Affects Versions4.26
Target Fix5.4
Fix Commit30886107
Main Commit30886114
Release Commit16602305
CreatedFeb 4, 2021
ResolvedJan 25, 2024
UpdatedFeb 13, 2024
View Jira Issue