Graphics/UMLSceneSizeDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3591
2f2a4a76dd22
diff -r 96232974dcdb -r 645c12de6b0c Graphics/UMLSceneSizeDialog.py
--- a/Graphics/UMLSceneSizeDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Graphics/UMLSceneSizeDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -41,6 +41,9 @@
         self.widthSpinBox.selectAll()
         self.widthSpinBox.setFocus()
         
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
+        
     def getData(self):
         """
         Method to retrieve the entered data.

eric ide

mercurial