From 81a9c818257cc24a74d5347e7c80043eeb44ca45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 4 May 2012 09:33:54 +0000 Subject: [PATCH] size policy for progress only for horizontal, not vertical; refs #142 --- src/browser.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser.hxx b/src/browser.hxx index 3a6756e..9763b23 100644 --- a/src/browser.hxx +++ b/src/browser.hxx @@ -97,6 +97,7 @@ class Browser: public QMainWindow, protected Ui::Browser { _find->add(actionClearFind); _find->hide(); statusBar()->addPermanentWidget(_progress = new QProgressBar()); + _progress -> setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred); QPushButton* btn(0); statusBar()->addPermanentWidget (btn=new QPushButton(QIcon(":/icons/16x16/butt16_09.png"), ""));