From 2d0d4fee288309d932d57fde8d578f6ee9e5140a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 24 Mar 2018 18:45:10 +0100 Subject: [PATCH] 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) --- Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp b/Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp index 4dc524cd8e..1327092bb3 100644 --- a/Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp +++ b/Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp @@ -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);