UI/AuthenticationDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
--- a/UI/AuthenticationDialog.py	Wed Mar 12 19:54:14 2014 +0100
+++ b/UI/AuthenticationDialog.py	Thu Mar 13 19:21:25 2014 +0100
@@ -39,6 +39,9 @@
         self.iconLabel.setPixmap(
             self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(
                 32, 32))
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     def setData(self, username, password):
         """

eric ide

mercurial