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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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