self.create_status_label.setMinimumHeight(font_metrics.height()+2*(font_metrics.height()+font_metrics.leading()))# reserve space for 3 lines
font_metrics=self.email_note_label.fontMetrics()
self.email_note_label.setMinimumWidth(font_metrics.width(u'The E-mail address is used when sending voicemail'))# hack to make text justification look nice everywhere
self.email_note_label.setMinimumWidth(font_metrics.width('The E-mail address is used when sending voicemail'))# hack to make text justification look nice everywhere