mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 19:36:15 +00:00
Fix SearchBar growing vertically on window resize
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b2a3e46184
commit
32a76671ed
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue