setup MainWindow minimum size