Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Votes
0
Found in
2021.3.34f1
2022.3.17f1
2023.2.6f1
2023.3.0b3
Issue ID
UUM-61751
Regression
No
[TextMeshPro] Text's Auto Size property does not respect Size when placed in a Horizontal Layout Group
Reproduction steps:
1. Open the attached “HLG_Bug.zip” project
2. Open the “SampleScene”
3. Expand the “Panel” GameObject (Canvas > Panel)
4. Select any TMP element
5. In the Inspector, check the Auto Size property
Expected result: Text size remains the same size
Actual result: Text size increases and extra padding on the right is visible
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.6f1, 2023.3.0b3
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- The Horizontal Layout Group has the “Control Child Size” property Width checked
- In the Layout Properties of the TMP elements, it is visible that the Preferred Width and Height double in size when the Auto Size property is checked
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Shader Graph][Ubuntu] Create Note menu can't be resized smaller, jumps in size and position
- Text is overlapping when using RTL
- Tile Asset Inspector "Flags" fields dropdown has an empty space below the options and has a different design than other dropdowns
- Shader cache is not used when building the Player repeatedly
- Shaders are always recompiled when the Editor is opened
Add comment