How to make an Editor Window with a border

I have a project in version 5.6.3p2 Personal, and was wondering if it’s possible to create an editor window that has a border. Mine always pops up borderless, and I haven’t been able to find any solutions that give it a border.

I’ve tried each of the EditorWindow Show...() methods, but still get something that looks like this:


I’d rather have something like this, if possible (the title bar’s not necessary, but I wouldn’t mind having it):


Has anyone solved this problem before, or have any tips I could check into?

Thanks in advance.

Figured it out. The window’s minSize and maxSize need to be set to different values. The type of Show method used didn’t seem to have any effect.