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:
parent
4d10023727
commit
626c686fee
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue