diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-07-16 11:58:02 +0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-16 09:11:14 -0700 |
commit | 32a76671eddc48e846a17acee09e82b97982dd4e (patch) | |
tree | 7199ba73e58b5b6f466ec5bcd745514faa97b10a | |
parent | b2a3e461848ba480229bf93a2d075608df997478 (diff) | |
download | subsurface-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>
-rw-r--r-- | qt-ui/usermanual.cpp | 1 |
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); |