From 32a76671eddc48e846a17acee09e82b97982dd4e Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Wed, 16 Jul 2014 11:58:02 +0400 Subject: Fix SearchBar growing vertically on window resize Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/usermanual.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/usermanual.cpp') diff --git a/qt-ui/usermanual.cpp b/qt-ui/usermanual.cpp index 3d8296045..b878f22ca 100644 --- a/qt-ui/usermanual.cpp +++ b/qt-ui/usermanual.cpp @@ -86,6 +86,7 @@ UserManual::UserManual(QWidget *parent) : QWidget(parent) connect(searchBar, SIGNAL(searchPrev()), this, SLOT(searchPrev())); QVBoxLayout *vboxLayout = new QVBoxLayout(); + userManual->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout->addWidget(userManual); vboxLayout->addWidget(searchBar); setLayout(vboxLayout); -- cgit v1.2.3-70-g09d2