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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Resolution Note:
The TMP Input Field, point size and text should be set on the parent TMP Input Field component / object.