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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
After talking to team members, we decided that we won't fix this defect.