From: smbaker Date: Tue, 13 Sep 2011 21:47:18 +0000 (-0700) Subject: set maximum width of status messages to prevent main window from getting really wide X-Git-Tag: sface-0.1-19~7 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=71265d697bc9e71beac6fabbb9dd775a90fbdfe7 set maximum width of status messages to prevent main window from getting really wide --- diff --git a/sface/mainwindow.py b/sface/mainwindow.py index 1079fe0..a8e7d33 100644 --- a/sface/mainwindow.py +++ b/sface/mainwindow.py @@ -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):