Search Issue Tracker
Feature Request
Votes
0
Found in
2021.3.20f1
2022.2.10f1
2023.1.0b7
2023.2.0a5
Issue ID
UUM-29203
Regression
No
[UI Builder] Text size % are inconsistent
How to reproduce:
1. Open the attached "repro_project.zip" project
2. Open UI/CauldronUI/CauldronMainUI.uxml
3. Select .buttonSmall class and set it's Text > Size value to 100%
4. Select "Mix" button in the hierarchy and set it's size to 100% and observe
Expected result: Both text's inside the buttons should either fit the whole parent visual element or the borders of the button
Actual result: Small buttons text fits button borders, while Mix button text fits parent visual element
Reproducible with: 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Font size is not currently supported by UI Toolkit.
See this thread for more information: https://forum.unity.com/threads/button-text-size-in-doesnt-work.1037551/
The feature is in our backlog, but no ETA at this time.