QScintilla/GotoDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
--- a/QScintilla/GotoDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/QScintilla/GotoDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -38,6 +38,9 @@
         self.linenumberSpinBox.setValue(curLine)
         self.linenumberSpinBox.selectAll()
         
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
+        
     def getLinenumber(self):
         """
         Public method to retrieve the linenumber.

eric ide

mercurial