Unity Issue Tracker - UI Document button's text does not resize relatively when size in percentage (%) is used
Closed
UUM-37787
UI Document button's text does not resize relatively when size in percentage (%) is used
Unity: UI Toolkit Framework
Feature Request
2023.2.X
2023.1.X
2022.3.X
2021.3.X
Resizing text by percentage has not been implemented yet and is considered a missing feature, not a bug.
Reproduction steps:
1. Create a new project
2. Create a new UI Document and open it
3. Place a button in the UI Document
4. Select the button
5. Set “Inlined Styles\Text\Size” from “px” to “%” through the Inspector
6. Resize the button through the Viewport window
Expected result: the button's text is scaled relatively to the size of the button
Actual result: the button's text is not scaled