Search Issue Tracker
Duplicate
Votes
0
Found in
2019.1.0a12
2019.1.2f1
2019.2.0a1
2019.3.0a1
Issue ID
1155166
Regression
Yes
GUILayout.Label() is affected by the window width when it's used in HorizontalScope with MinWidth
How to reproduce:
1. Open the attached project ("case_1155166")
2. Enter Play Mode
3. Try changing the Game View window's width
Expected result: GUILayout.Label() is not affected by the changing size of the Game View window
Actual result: GUILayout.Label() is affected by the changing size of the Game View window
Reproducible with: 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Not reproducible with: 2017.4.27f1, 2018.4.1f1, 2019.1.0a11
Note:
- The MinWidth has to be of a size so that the GUILayout.Label() text field would fill the full width of the HorizontalScope
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment