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
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
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