--- a/Project/NewDialogClassDialog.py Wed Mar 12 19:54:14 2014 +0100 +++ b/Project/NewDialogClassDialog.py Thu Mar 13 19:21:25 2014 +0100 @@ -48,6 +48,9 @@ self.filenameEdit.setText(defaultFile) self.pathnameEdit.setText(QDir.toNativeSeparators(defaultPath)) + msh = self.minimumSizeHint() + self.resize(max(self.width(), msh.width()), msh.height()) + @pyqtSlot() def on_pathButton_clicked(self): """