[4.8] Textbox centering/wrapping not working anymore
With the latest 4.8 engine update we've found that all of our text boxes in the game have been changed that they no longer scale properly. With the help of a previous question here: https://answers.unrealengine.com/questions/245006/umg-text-alignment-scaling-issue.html I was able to get them to scale as intended, but for the life of me I simply can't get text centering and scaling in set bounds to work properly.
To illustrate here's an example text made just recently from a new text box.:
As you can see the text box isn't big enough despite the scale box being much larger than it. You should be able to repro it with just creating a new textbox and wrapping it with a scalebox with the settings below. Here are the settings for the scalebox:
Setting it to fill it now wraps the text properly, but centering now longer works:
It's more than possible that some settings aren't used as intented, but as of now I can't find any documentation on how to get any text to center and wrap properly anymore even though all of these worked as intended in 4.7.
asked Jul 15 '15 at 10:44 AM in Bug Reports
After doing a bit of digging I found that this issue is a known issue (UE-17037). However, I have found a workaround that may be viable depending on your needs. I have found that you can prevent clipping by adding a bit of padding to the left and right sides of the text. I hope that this information helps.
In this example I have a font that was clipping the right side of the text (the top loop of the 'k') and so I added some padding to increase the size of the bounding box.
Make it a great day
answered Jul 15 '15 at 03:54 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here