Change layout of window.