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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
The TMP Input Field, point size and text should be set on the parent TMP Input Field component / object.