Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.63f1

6000.2.14f1

6000.3.0b10

6000.4.0a5

6000.5.0a2

Issue ID

UUM-128242

Regression

No

UI Builder "Padding" field can be set to a negative value

-

How to reproduce:
1. Create a new Unity project
2. Create a UI Document and open it
3. Create any Visual Element
4. In the UI Builder Inspector, Go to Spacing -> Padding
5. Try setting the value to a negative number

Expected results: The Padding can't be set to a negative number because it has no effect
Actual results: The Padding can be set to a negative number

Reproducible with: 6000.0.63f1, 6000.2.14f1, 6000.3.0b10, 6000.4.0a5, 6000.5.0a2

Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested

  1. Resolution Note:

    Like in the CSS spec, the backend accepts negative padding values but they go to zero.

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.