Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X

Votes

0

Found in

2022.3.56f1

6000.0.33f1

6000.1.0b2

7000.0.0a1

Issue ID

UUM-92618

Regression

No

Can't set Visual Element height in UI Builder

--

-

*Steps to reproduce:*
# Create a new URP project.
# Assets > Create > UI Toolkit > UI Document.
# Open this in UI Builder.
# Drag the Visual Element into Hierarchy.
# Under Inspector > Inlined Styles > Size, set Width to 20px. See that there is a change in your Visual Element.
# Set Height to 20px.
# 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

All about bugs

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