size window for editor