Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.2.0f3

Issue ID

982746

Regression

No

Adding GUILayout.Height or Width option results in extra spacing when parent layout group style has padding

IMGUI

-

Steps to reproduce:
1. Open attached “GUILayout.zip” Unity project
2. Open Tests->TestEditor
3. Enable checkbox in TestEditor window

Expected results:
No extra spacing is added
Actual results:
Extra spacing is added to BeginVertical and BeginHorizontal layouts

Reproduced in: 2018.1.0b1, 2017.3.0p1, 2017.2.1p1, 2017.1.3f1, 5.6.5f1, 5.6.0a1

Note: Reproduces with GUILayout.Height option when BeginVertical is used or GUILayout.Width option when BeginHorizontal is used


Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.