Search Issue Tracker
By Design
Votes
0
Found in
2022.2.0a3
Issue ID
UUM-63242
Regression
Yes
[UI Builder] VisualElement is created with a modified Grow value
*Steps to reproduce:*
1. Create a UI Document (Create>UI Toolkit>UI Document) and open it
2. Add a VisualElement
3. Select the VisualElement and expand the Flex tab in the UI Builder inspector
4. Observe that the Grow field is set to 1 and is displayed as modified
*Note:* Grow is displayed as a modified value and can be Unset. Added images show the comparison of default behavior before and after.
*Actual results:* Grow value is set to 1
*Expected results:* Grow value is not modified by default
*Reproducible with versions:* 2022.2.0a3, 2022.3.18f1, 2023.3.0b6, 2022.3.0f1
*Not reproducible with versions:* 2021.3.18f, 2022.1.0a1, 2022.2.0a2
*Tested on (OS):* MacOS, Windows 11 Arm, Windows 11
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
This is as designed. VisualElements are created with `flex-grow: 1` to make them easily selectable in the viewport. An option can be found in the Library tab of the builder, in the 3-dot menu, called "Default Visual Element Type". Select "No Styles" to have an empty element.