Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13
Votes
0
Found in
2021.3.20f1
2022.2.9f1
2023.1.0b6
2023.2.0a4
2023.3.0a3
6000.0.0b11
Issue ID
UUM-29965
Regression
No
Borders of an element don't match its children's borders when the element has "max-width" specified
How to reproduce:
1. Open the user-attached project “MaxWidthProblem“
2. In the Project tab, click Assets → UITkTest → TestCase.uxml
3. Observe the #ProblemCase element in the Viewport
Expected result: The yellow outline matches the red outline
Actual result: The yellow outline has an offset from the right and doesn’t match the size of the red rectangle
Reproducible with: 2021.3.20f1, 2022.2.9f1, 2023.1.0b6, 2023.2.0a4
Couldn’t test with: 2020.3.45f1 (uxml file can’t be loaded properly)
Reproducible on: Windows 11 Pro
Workaround: Use “flex-basis” property with “flex-grow” specified by 0
Note: Also reproducible in Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
- The options modal for which type of Tilemap to create isn't drawn when it has been previously closed until the user moves their cursor
- There are 2 Overlay Menus present in the Tile Palette Window
- Unable to change the Shadow Map resolution for lights via Inspector when 'preserveCachedShadow' is enabled
- Adaptive Probe Volumes are not loaded when Adaptive Light Probes are exported via Asset Bundles and opened on another project
Add comment