RefactoringRope/InlineDialog.py

changeset 74
0973b175e2ad
parent 62
1077db8d0589
child 76
936b2a98fe4e
diff -r f712afb572c7 -r 0973b175e2ad RefactoringRope/InlineDialog.py
--- a/RefactoringRope/InlineDialog.py	Sat Apr 05 15:29:25 2014 +0200
+++ b/RefactoringRope/InlineDialog.py	Sat Apr 12 19:47:46 2014 +0200
@@ -57,6 +57,9 @@
         self.__previewButton = self.buttonBox.addButton(
             self.trUtf8("Preview"), QDialogButtonBox.ActionRole)
         self.__previewButton.setDefault(True)
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     @pyqtSlot(QAbstractButton)
     def on_buttonBox_clicked(self, button):

eric ide

mercurial