Hi,
GUILayout.Window has changed behavior between old editor UI (pre 2019.3) and the new one. Here is a simple code that shows the problem:
for (int j = 0; j < 5; j++)
GUILayout.Window(j, new Rect(j * 50, 5, 50, 50), null, “”);
And here are the results:
Old UI
New UI
You can see that the rectangles are smaller in the new UI. I want to get the same size of the rectangle, whatever the size of the shadow is.
Any help is appreciated.
Thanks