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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
The TMP Input Field, point size and text should be set on the parent TMP Input Field component / object.