Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3
2020.1
2020.2
2020.2.0a5
Issue ID
1244210
Regression
No
Part of a clickable label's area becomes unclickable when using GUILayout.FlexibleSpace() in Horizontal control group
How to reproduce:
1. Open the attached 'project-1244210.zip' project
2. Select the 'GameObject' in the Hierarchy window
3. In the Inspector window, try to expand the 'Label Click broken, FlexibleSpace' label by clicking on the text starting from 'broken' word
Expected result: the label expands
Actual result: the label does not expand
Reproducible with: 2018.4.22f1, 2019.3.13f1, 2020.1.0b8, 2020.2.0a10
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (2020.2.X):
The MaxWidth of the foldout is set as 50 in the foldout style. As the flexible space eats up all the unused space in the layout, all the area to the right of the 50px is unclickable for foldout. After careful consideration, it has been decided that it would be too risky to change the foldout width to resize according to size of the content. If the user so wishes, he can pass his own style with custom maxwidth while creating the foldout