Search Issue Tracker
By Design
Votes
0
Found in
2021.3.34f1
2022.3.18f1
2023.2.7f1
2023.3.0b4
Issue ID
UUM-61552
Regression
No
UI Builder Sliders length bar disappears when VisualElement items get aligned to anything except "Stretch" or the VisualElement is Self-Aligned to anything except "Stretch"
How to reproduce:
1. Open the “UIBuild.zip“ project
2. Open the “NewUXMLTemplate“ uxml file in the UI Builder
3. Select the “VisualElement“ in the Hierarchy of the UI Builder
4. Expand the “Align“ tab in the Inspector
5. Select any Align Items option, but “Stretch“
6. Observe the Viewport of the UI Builder
Expected results: The Slider and its label are fully visible
Actual results: Only the label and the vertical part of the slider is visible
Reproducible in: 2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4
Reproduced on: Windows 11 Pro
No reproduced on: No other environment tested
Note: This happens with other alignment options as well
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
This is by design. It's how flexbox works. The field is meant to work in a flex-direction:column parent, where it sets its height but does not set its width (it expects to get its width from its parent). When you align it the way you do, you invert this relationships and ask the field for a width, which it reluctantly gives as its minWidth. The "stretch" option is referring to how individual elements are stretched across the row, not how single elements are stretched.