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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.