IconEditor/IconSizeDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3145
a9de05d4a22f
parent 3366
6084bb3c3911
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
28 28
29 self.widthSpin.setValue(width) 29 self.widthSpin.setValue(width)
30 self.heightSpin.setValue(height) 30 self.heightSpin.setValue(height)
31 31
32 self.widthSpin.selectAll() 32 self.widthSpin.selectAll()
33
34 msh = self.minimumSizeHint()
35 self.resize(max(self.width(), msh.width()), msh.height())
33 36
34 def getData(self): 37 def getData(self):
35 """ 38 """
36 Public method to get the entered data. 39 Public method to get the entered data.
37 40

eric ide

mercurial