Change resolution of main window.