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:
parent
bf05c74f6b
commit
2d0d4fee28
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue