Enabled resizing main window