Search Issue Tracker

Fixed

Fixed in 2021.3.38f1, 2022.3.25f1, 2023.2.18f1, 6000.0.0b15

Votes

0

Found in

2020.3.44f1

2021.3.17f1

2022.2.5f1

2023.1.0b2

6000.0.0b11

Issue ID

UUM-25738

Regression

No

[UI Toolkit] Dimensions of a parent element do not include padding when used in anchors of an absolute positioned children element

--

-

How to reproduce:
1. Open the user’s attached “PaddingBug.zip” project
2. Enter Play Mode and observe the result

Expected result: Blue square is at the bottom right of a red square
Actual result: Blue square is on top of a red square

Reproducible with: 1.0.0-preview.18 (2020.3.44f1), 1.0.0 (2021.3.18f1, 2022.2.5f1, 2023.1.0b2)

Reproduced on: macOS 12.4 (Intel)

Note: Reproduced in the Editor and in the Standalone macOS Player

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.