Search Issue Tracker
Fixed in 2022.2.X
Votes
1
Found in
2019.4
2020.3
2021.2
2021.2.0f1
2022.1
2022.2
Issue ID
1379062
Regression
No
The Height of the label isn't the same size as content of the Label when using Max Width
How to reproduce:
1. Open the attached project "LabelAutoSize.zip"
2. Open Assets > TestUXML.uxml
3. Observe "#m_label1" label
Expected result: Label is the same size as the text content
Actual result: Label is not the same size as the text content
Reproducible with: 2019.4.35f1, 2020.3.27f1, 2021.2.10f1, 2022.1.0b6, 2022.2.0a4
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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a12