UI/NotificationWidget.py

changeset 3383
2da1760fe787
parent 3370
c8c6e31b9d41
child 3484
645c12de6b0c
--- a/UI/NotificationWidget.py	Sun Mar 16 19:21:20 2014 +0100
+++ b/UI/NotificationWidget.py	Sun Mar 16 19:30:38 2014 +0100
@@ -103,8 +103,8 @@
         
         super().show()
         
-        msh = self.minimumSizeHint()
-        self.resize(max(self.width(), msh.width()), msh.height())
+        sh = self.sizeHint()
+        self.resize(max(self.width(), sh.width()), sh.height())
     
     def mousePressEvent(self, evt):
         """

eric ide

mercurial