Set the minimum size of MainWindow.