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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note:
After talking to team members, we decided that we won't fix this defect.