Search Issue Tracker

Fixed

Fixed in 6000.0.43f1, 6000.1.0b11, 6000.2.0a7, 6000.3.0a1

Votes

0

Found in

2022.3.56f1

6000.0.33f1

6000.1.0b2

6000.2.0a1

6000.3.0a1

7000.0.0a1

Issue ID

UUM-92618

Regression

No

Can't set Visual Element height in UI Builder

-

Steps to reproduce:

  1. Create a new URP project.
  2. Assets > Create > UI Toolkit > UI Document.
  3. Open this in UI Builder.
  4. Drag the Visual Element into Hierarchy.
  5. Under Inspector > Inlined Styles > Size, set Width to 20px. See that there is a change in your Visual Element.
  6. Set Height to 20px.
  7. Try changing the size by Dragging the Blue lines.

Actual results: Width has no issue setting, but height does not change.
The only way to edit the height seems to be to set the Max Height.

Expected results: Visual element height will be set to 20px.

Reproducible with versions: 6000.1.0b2, 6000.0.33f1, 2022.3.56f1, did not test much further as it was previously marked As Designed.

This did previously return expected results in 2022.1.24f1.

Tested on (OS): Windows 10

Notes:

  • Could not reproduce with a default Button.
  • Due to flex-grow being 1 in Visual Element settings.

Add comment

Log in to post comment