Search Issue Tracker

By Design

Votes

0

Found in

6000.0.37f1

6000.1.0b5

6000.2.0a1

Issue ID

UUM-97000

Regression

No

[SW-unity-6-1] UI Builder has inconsistent bolding of fields when changing values in the Inspector

-

Steps to reproduce:
1. Create a project
2. Open UI Builder (Window → UI Toolkit → UI Builder)
3. Add any element to the hierarchy
4. Go to the “Flex” attribute in the Inspector.
5. Change the value of "Grow" attribute and notice the bolding of the field.
6. Go to the "Size" attribute in the Inspector
7. Change the value of "Height" attribute and notice the bolding of the field.
8. Go to the "Background" attribute in the Inspector
9. Change the value of "Height" attribute and notice the bolding of the field.

Expected result: Fields and values which are bolded after making a change are consistent between different fields
Actual result: In all 3 scenarios above, the highlighting is different

Reproducible in: 6000.0.37f1, 6000.1.0b5, 6000.2.0a1
Could not test in : 2022.3.57f1 (Attribute Background does not have a Size field)

Reproducible on: Windows 11, MacOS 15.3 (M4) (By the user)
Not reproducible on: No other environment tested

Notes:
The behavior after changing Grow in *Flex*:
Grow is highlighted, while Shrink is not.
Attribute name became highlighted
Field of the attribute (Basis) is not highlighted

The behavior after changing Height in *Size*:
The changed field (Height) is highlighted, while (Width) is not.
The attribute (Size) is highlighted and the field (Size) of the attribute is also highlighted.

The behavior after changing Height in *Background*:
Everything is highlighted. (Height, Width, Size, Background)

Images attached.

  1. Resolution Note:

    This is expected behaviour.
    The width and height inside the Size section are shown on the same line, but they are two different style properties.
    The same happens for the shrink and grow inside the Flex section, they are shown on the same line, but they are two different style properties.
    The size inside the Background section is different because here the width and height is part of the same style property.

    These style properties can be viewed inside the uxml/uss preview section.

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.