Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
949362
Regression
No
EditorGUILayout.PrefixLabel is too large when the scrollbar is visible in the inspector
How to reproduce:
1. Download attached project and open "Main" Scene
2. Select the GameObject named "GameObject" to display the SomeMonoBehaviour editor in the inspector (Notice how all fields are properly aligned)
3. Check the "Force Scrollbar" checkbox (the scrollbar should appear unless you have a ridiculously tall screen, in that case, try to make the scrollbar appear in the inspector window)
4. Notice how only the EditorGUILayout label field did not move and is now misaligned with the other methods
Expected result: EditorGUILayout.PrefixLabel should not give different results than EditorGUI.PrefixLabel and EditorGUILayout.Label
Actual result: When using EditorGUILayout.PrefixLabel, if the scrollbar is visible in the inspector, the subsequent field is not moved to the left to accommodate the change in width.
Reproduced with: 5.5.4p3, 5.6.3p3, 2017.1.1p1, 2017.2.0b11, 2017.3.0a7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
- Context menu actions (Collapse All, Expand All, Enable All, Disable All, Remove All, Reset All) do nothing in Volume component
- [Android] Audio volume decreases when returning to the app during screen recording
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
Add comment