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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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