UI/NotificationWidget.py

branch
5_4_x
changeset 3385
69d7ca32fa60
parent 3372
25241c4e1d3c
--- 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