--- a/UI/NotificationWidget.py Thu Mar 13 19:21:59 2014 +0100 +++ b/UI/NotificationWidget.py Fri Mar 14 17:54:54 2014 +0100 @@ -46,6 +46,9 @@ flags |= Qt.ToolTip self.setWindowFlags(flags) + self.frame.layout().setAlignment( + self.verticalLayout, Qt.AlignLeft | Qt.AlignVCenter) + self.__timer = QTimer(self) self.__timer.setSingleShot(True) self.__timer.timeout.connect(self.close) @@ -99,6 +102,9 @@ self.__timer.start() super().show() + + msh = self.minimumSizeHint() + self.resize(max(self.width(), msh.width()), msh.height()) def mousePressEvent(self, evt): """