From 626c686fee8a7d116e86096a283dc0346327524e Mon Sep 17 00:00:00 2001 From: iwubcode Date: Mon, 26 Apr 2021 21:24:36 -0500 Subject: [PATCH] DolphinQt: update device drop down size policy so that the input profile resizes properly This also keeps the device profile at a minimum so that it doesn't completely disappear (which was originally why it was changed to expanding) --- Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp index ae9b2e0cc5..ac6230cec4 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp @@ -85,7 +85,7 @@ void MappingWindow::CreateDevicesLayout() m_devices_combo = new QComboBox(); m_devices_refresh = new QPushButton(tr("Refresh")); - m_devices_combo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); + m_devices_combo->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); m_devices_refresh->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); m_devices_layout->addWidget(m_devices_combo);