mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
DolphinQt: Prevent contents of device and profile dropdowns from throwing off layout.
This commit is contained in:
parent
2a3c075330
commit
031149cc1d
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ void MappingWindow::CreateDevicesLayout()
|
|||
m_devices_combo = new QComboBox();
|
||||
m_devices_refresh = new QPushButton(tr("Refresh"));
|
||||
|
||||
m_devices_combo->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
|
||||
m_devices_refresh->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
|
||||
m_devices_layout->addWidget(m_devices_combo);
|
||||
m_devices_layout->addWidget(m_devices_refresh);
|
||||
|
||||
|
@ -85,7 +87,7 @@ void MappingWindow::CreateProfilesLayout()
|
|||
|
||||
auto* button_layout = new QHBoxLayout();
|
||||
|
||||
m_profiles_box->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
m_profiles_combo->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
|
||||
m_profiles_combo->setEditable(true);
|
||||
|
||||
m_profiles_layout->addWidget(m_profiles_combo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue