diff -r 96232974dcdb -r 645c12de6b0c Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py --- a/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py Thu Apr 03 23:05:31 2014 +0200 @@ -34,10 +34,13 @@ self.setupUi(self) self.bTest = self.buttonBox.addButton( - self.trUtf8("Test"), QDialogButtonBox.ActionRole) + self.tr("Test"), QDialogButtonBox.ActionRole) self.font = None + msh = self.minimumSizeHint() + self.resize(max(self.width(), msh.width()), msh.height()) + def on_buttonBox_clicked(self, button): """ Private slot called by a button of the button box clicked. @@ -124,7 +127,7 @@ if title: code += ',{0}{1}{2}'.format( os.linesep, istring, parent) - code += ',{0}{1}self.trUtf8("{2}")'.format( + code += ',{0}{1}self.tr("{2}")'.format( os.linesep, istring, title) elif parent != "None": code += ',{0}{1}{2}'.format(