QScintilla/ZoomDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
34 self.setModal(modal) 34 self.setModal(modal)
35 35
36 self.zoomSpinBox.setValue(zoom) 36 self.zoomSpinBox.setValue(zoom)
37 self.zoomSpinBox.selectAll() 37 self.zoomSpinBox.selectAll()
38 38
39 msh = self.minimumSizeHint()
40 self.resize(max(self.width(), msh.width()), msh.height())
41
39 def getZoomSize(self): 42 def getZoomSize(self):
40 """ 43 """
41 Public method to retrieve the zoom size. 44 Public method to retrieve the zoom size.
42 45
43 @return zoom size (int) 46 @return zoom size (int)

eric ide

mercurial