Resize EditorWindow

How can I resize an EditorWindow? I tried
position = new Rect(position.x, position.y, position.width, 200);
but my EditorWindow starts moving about instead of expanding

Try adjusting minSize before you try to resize the window. I can’t remember what’s the default minSize, but it’s not too small afaik. minSize always has to be set to the smallest size you want the window to be able to be resized to.

The use of maxSize should be clear now :wink: