Another fix of the notification widget. 5_4_x

Sun, 16 Mar 2014 19:30:38 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 16 Mar 2014 19:30:38 +0100
branch
5_4_x
changeset 3385
69d7ca32fa60
parent 3384
4908a9d74fb5
child 3387
02886315fd26

Another fix of the notification widget.
(grafted from 2da1760fe7871455f83a4292f0d2bf3c584ad08d)

UI/NotificationWidget.py file | annotate | diff | comparison | revisions
--- 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