Search Issue Tracker
By Design
Votes
1
Found in [Package]
2.0.1
Issue ID
1166242
Regression
No
TextMeshPro text vertical alignment is offset too much/incorrectly if the font size is too large
How to reproduce:
1. Open attached project "Guess The Number.zip" and scene "Game"
2. In the Hierarchy, select Canvas > InputField (TMP) > Text Area > Text
3. Enter some text into the Text field on the Text Mesh Pro UGUI component
4. Click on the Bot vertical alignment button
5. Observe the vertical alignment
Expected result: the text is vertically aligned at the bottom even though there is not enough space for the text to fit
Actual result: the text is offset from the bottom too much, it seems as if it was vertically aligned at the top
Reproducible with: 2018.4.3f1 (1.4.1), 2019.1.9f1 (2.0.1), 2019.2.0b8 (2.0.1), 2019.3.0a8 (2.0.1)
Could not test with: 2017.4 due to package errors
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
The TMP Input Field, point size and text should be set on the parent TMP Input Field component / object.