x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[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.:

alt text

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:

alt text

Setting it to fill it now wraps the text properly, but centering now longer works:

alt text

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.

Product Version: UE 4.8
Tags:
scalebox1.jpg (301.5 kB)
scalebox2.jpg (293.7 kB)
scalebox3.jpg (295.7 kB)
more ▼

asked Jul 15 '15 at 10:44 AM in Bug Reports

avatar image

TatuTeittinen
140 7 10 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello TatuTeittinen,

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.

Example:

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.

alt text

Make it a great day

more ▼

answered Jul 15 '15 at 03:54 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

avatar image TatuTeittinen Jul 16 '15 at 03:44 PM

Hey Rudy,

the workaround seems to be working well enough (still requires some fiddling when you want it to auto wrap and center properly, but it's "shippable" if not perfect), thank you!

For those that have ended up here, here's the original report if it's any use: https://answers.unrealengine.com/questions/242095/umg-errors-with-text-rendering.html

Cheers, Tatu

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question