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)
This commit is contained in:
iwubcode 2021-04-26 21:24:36 -05:00 committed by Léo Lam
parent 4d10023727
commit 626c686fee
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void MappingWindow::CreateDevicesLayout()
m_devices_combo = new QComboBox(); m_devices_combo = new QComboBox();
m_devices_refresh = new QPushButton(tr("Refresh")); 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_refresh->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
m_devices_layout->addWidget(m_devices_combo); m_devices_layout->addWidget(m_devices_combo);