Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.2
2020.2.7f1
2020.3
2021.1
2021.2
Issue ID
1321444
Regression
No
Width of the foldout gets shrunk when EditorGUILayout.Space is used within the header group
How to reproduce:
1. Open the user's attached project
2. In the top bar menu select Tools > FoldoutHeaderGroupBug
3. In the Foldout window expand the 'My Foldout'
Expected result: The foldout width is the same when it is expanded and collapsed
Actual result: When the foldout is expanded it is slightly more narrow than when collapsed
Reproducible with: 2019.4.23f1, 2020.2.7f1, 2020.3.2f1, 2021.1.1f1, 2021.2.0a11
Cannot test with: 2018.4.33f1 (due to errors)
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
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
This is the expected behaviour when using with LayoutGroups and styles with margins.