UI/NotificationWidget.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3370
c8c6e31b9d41
diff -r 5dafcc891579 -r 6084bb3c3911 UI/NotificationWidget.py
--- a/UI/NotificationWidget.py	Wed Mar 12 19:54:14 2014 +0100
+++ b/UI/NotificationWidget.py	Thu Mar 13 19:21:25 2014 +0100
@@ -99,6 +99,9 @@
             self.__timer.start()
         
         super().show()
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     def mousePressEvent(self, evt):
         """

eric ide

mercurial