Main window width adjust