set maximum width of status messages to prevent main window from getting really wide
authorsmbaker <smbaker@fc8clean.lan>
Tue, 13 Sep 2011 21:47:18 +0000 (14:47 -0700)
committersmbaker <smbaker@fc8clean.lan>
Tue, 13 Sep 2011 21:47:18 +0000 (14:47 -0700)
sface/mainwindow.py

index 1079fe0..a8e7d33 100644 (file)
@@ -96,6 +96,7 @@ class Nav(QWidget):
 class Status(QLabel):
     def __init__(self, parent=None):
         QLabel.__init__(self, "", parent)
+        self.setMaximumWidth(640)
         self.sliceUpdateDate()
 
     def set(self, msg, timeout):