Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1351269
Regression
No
Setting padding in % does not affect Label in UI Builder when Margin is set to 0% or any value in px
How to reproduce:
1. Open the attached project "Bugs reports.zip"
2. Open Assets/UI Toolkit/New Folder/NewUXMLTemplate.uxml
3. Select "#LabelPrec" in the Hierarchy (NewUXML Template.uxml>#MainElement>#PanelRight>#LabelPrec)
4. In the Inspector change Margin Right to 0% (Margin & Padding>Margin>Right)
Expected result: Padding is not affected and stays the same
Actual result: Padding is not applied to the Label anymore
Reproducible with: 0.10.0-preview (2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b6, 2022.1.0a5), 1.0.0-preview.14 (2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b6, 2022.1.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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
After talking to team members, we decided that we won't fix this defect.