Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py

changeset 3366
6084bb3c3911
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
33 33
34 self.bTest = self.buttonBox.addButton( 34 self.bTest = self.buttonBox.addButton(
35 self.tr("Test"), QDialogButtonBox.ActionRole) 35 self.tr("Test"), QDialogButtonBox.ActionRole)
36 36
37 self.font = None 37 self.font = None
38
39 msh = self.minimumSizeHint()
40 self.resize(max(self.width(), msh.width()), msh.height())
38 41
39 def on_buttonBox_clicked(self, button): 42 def on_buttonBox_clicked(self, button):
40 """ 43 """
41 Private slot called by a button of the button box clicked. 44 Private slot called by a button of the button box clicked.
42 45

eric ide

mercurial