Allow specifying whether the window should be resized.