Qt: Fix controller window margin

Reduces wasted space and makes the whole window (barely) fit on my
laptop screen again. (Regression from the scroll wrap changes)
This commit is contained in:
Léo Lam 2018-03-24 18:45:10 +01:00
parent bf05c74f6b
commit 2d0d4fee28
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ void WrapInScrollArea(QWidget* parent, QLayout* wrapped_layout, QWidget* to_resi
auto* widget = new QWidget;
widget->setLayout(wrapped_layout);
auto* scroll_area = GetWrappedWidget(widget, to_resize);
auto* scroll_area = GetWrappedWidget(widget, to_resize, 0, 0);
auto* scroll_layout = new QVBoxLayout;
scroll_layout->addWidget(scroll_area);