Search Issue Tracker
Fixed
Fixed in 2022.3.3f1, 2023.1.X, 2023.2.0a1
Votes
1
Found in
2021.2.11f1
2021.3.14f1
2022.1.0b6
2022.2.0a5
2023.1.0a18
2023.2.0a1
Issue ID
UUM-9786
Regression
No
Text gets compressed when using \t with <align=justified> tag
Reproduction steps:
1. Open project "UIToolkitJustify"
2. Open Assets > UIDoc
Expected result: The text does not go over bounds
Actual result: The text goes over bounds
Reproducible with: 2021.2.11f1, 2022.1.0b6, 2022.2.0a5
Could not test with: 1.0.0-preview.18 (2020.3.27f1, Can't open "UIDoc", getting this error: "There is no application set to open the document “UIDoc.uxml”."), 2019.4.35f1 (Package not supported)
Notes:
- Text wrap is checked
- If you add one more letter, the text is displayed correctly
-
vejab
Jan 05, 2023 21:31
In 2022.2.1f1, it seems to has been fixed. But, if there is a tabulation (\t) right after the tag, it does weird things (either go way over bounds, or becoming totally unreadable because it's too squeezed)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
Resolution Note (fix version 2023.2.0a1):
When using justified text, we would increase the internal container of the text by 5%, causing the text to go out of bounds in certain cases
Resolution Note (fix version 2023.1):
Corrected the improper ratio between character spacing and word spacing for justified alignment. We intend to introduce an adjustable property to allow for fine-tuning of this ratio.