From 2ab649c226c138cf385c741e1f9fa86a062fd56f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 14 Mar 2015 19:23:31 -0400 Subject: [PATCH] Allow resizing the main window smaller than the status bar label. Fixes #1260 --- src/mainwin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwin.cc b/src/mainwin.cc index 12c3e051..bd206383 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -263,6 +263,7 @@ MainWindow::MainWindow(const QString &filename) connect(this, SIGNAL(unhighlightLastError()), editor, SLOT(unhighlightLastError())); this->qglview->statusLabel = new QLabel(this); + this->qglview->statusLabel->setMinimumWidth(100); statusBar()->addWidget(this->qglview->statusLabel); animate_timer = new QTimer(this);