summaryrefslogtreecommitdiffstats
path: root/qt-ui/usermanual.cpp
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-16 11:58:02 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 09:11:14 -0700
commit32a76671eddc48e846a17acee09e82b97982dd4e (patch)
tree7199ba73e58b5b6f466ec5bcd745514faa97b10a /qt-ui/usermanual.cpp
parentb2a3e461848ba480229bf93a2d075608df997478 (diff)
downloadsubsurface-32a76671eddc48e846a17acee09e82b97982dd4e.tar.gz
Fix SearchBar growing vertically on window resize
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usermanual.cpp')
-rw-r--r--qt-ui/usermanual.cpp1
1 files changed, 1 insertions, 0 deletions
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);