Modify main window's size