Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
0
Found in
2022.2.3f1
2023.1.0a24
Issue ID
UUM-22749
Regression
Yes
[UI Builder] VisualElement height cannot be changed with UI Builder window
Reproduction steps:
- Create a new project
- Open a new UI Builder window (Window > UI Toolkit > UI Builder)
- Add a new VisualElement component to the Viewport
- Change the height of the VisualElement component by dragging the bottom edge of the component
Expected result: The height of the VisualElement changes
Actual result: The height of the VisualElement does not change
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody prefab in scene is losing overrides on Linear/Angular Damping
- "ObjectDisposedException: SerializedProperty injectionPoint has disappeared!" errors are thrown in the Console and the Renderer Feature addition cannot be undone after performing Undo on a Full Screen Pass Renderer Feature
- Rendering corruption on ARM Mali GPU when using shader with FrameBuffer and DepthTexture with Vulkan API
- TextMeshPro text fails to render on macOS Standalone builds when Canvas Plane Distance is close to the Camera's Near Clip Plane
- info-log.json logs the wrong OS version when using a macOS device
Resolution Note:
New VisualElements, when added to the current UI Builder document, come with inline styles, one of them being flex-grow set to 1. Which means it will take all the space it can take from its parent (the canvas). Unsetting the flex-grow property will fix your problem.
Resolution Note (2023.1.X):
New VisualElements, when added to the current UI Builder document, come with inline styles, one of them being flex-grow set to 1. Which means it will take all the space it can take from its parent (the canvas). Unsetting the flex-grow property will fix your problem.