From 71265d697bc9e71beac6fabbb9dd775a90fbdfe7 Mon Sep 17 00:00:00 2001 From: smbaker Date: Tue, 13 Sep 2011 14:47:18 -0700 Subject: [PATCH] set maximum width of status messages to prevent main window from getting really wide --- sface/mainwindow.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.43.0