Search Issue Tracker

By Design



Found in [Package]


Issue ID




Preferred Height of a TMP Text is sometimes incorrect

Package: TextMeshPro


Reproduction steps:
1. Open the "" project attached by the user
2. Enter Play Mode
3. Hover over the left button
4. Hover over the middle button

Expected result: Tooltip's background height is the same, not significantly higher
Actual result: Tooltip's background height is significantly higher because Text returns a higher Preferred Height

Reproducible with: 2.1.6 (2019.4.29f1), 3.0.6 (2020.3.14f1, 2021.1.14f1, 2021.2.0b3, 2022.1.0a1)

  1. Resolution Note:

    This behavior is by design and related to how the layout system works.

    Please see the following post for detailed explanation.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.