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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Tags window completely breaks and throws Exception errors when Adding a Tag to a GameObject
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
Resolution Note:
The TMP Input Field, point size and text should be set on the parent TMP Input Field component / object.