Unity Issue Tracker - UI Builder "Padding" field can be set to a negative value
Closed
UUM-128242
UI Builder "Padding" field can be set to a negative value
Unity: UI Builder
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.0.X
Like in the CSS spec, the backend accepts negative padding values but they go to zero.
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