Search Issue Tracker
Duplicate
Votes
0
Found in
6000.0.54f1
6000.1.14f1
6000.2.0b12
6000.3.0a3
Issue ID
UUM-113017
Regression
No
UIToolkit parent element size does not respect children's margin and padding when their values are in percent
How to reproduce:
1. Open the “UIBugs.zip“ project
2. Open the “RecipeTest.uxml“ file in UI Builder
3. Select and observe the “PinContainer-Percent“ outline in the UI Builder’s viewport
Expected result: The outline surrounds the three elements inside that element
Actual result: The outline does not surround the three elements
Reproducible in: 2023.1.0a1, 6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Note: If at least one of the children has pixel values for margin and padding, the parent will become the right size
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-113019
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
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
This is a duplicate of issue #UUM-113019