mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #7897 from spycrab/qt_mapping_dialog
Qt/PadMappingDialog: Improve layout
This commit is contained in:
commit
2a9f01c1ba
@ -35,12 +35,12 @@ void PadMappingDialog::CreateWidgets()
|
|||||||
m_wii_boxes[i] = new QComboBox;
|
m_wii_boxes[i] = new QComboBox;
|
||||||
|
|
||||||
m_main_layout->addWidget(new QLabel(tr("GC Port %1").arg(i + 1)), 0, i);
|
m_main_layout->addWidget(new QLabel(tr("GC Port %1").arg(i + 1)), 0, i);
|
||||||
m_main_layout->addWidget(new QLabel(tr("Wii Remote %1").arg(i + 1)), 0, 4 + i);
|
|
||||||
m_main_layout->addWidget(m_gc_boxes[i], 1, i);
|
m_main_layout->addWidget(m_gc_boxes[i], 1, i);
|
||||||
m_main_layout->addWidget(m_wii_boxes[i], 1, 4 + i);
|
m_main_layout->addWidget(new QLabel(tr("Wii Remote %1").arg(i + 1)), 2, i);
|
||||||
|
m_main_layout->addWidget(m_wii_boxes[i], 3, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_main_layout->addWidget(m_button_box, 2, 0, 1, -1);
|
m_main_layout->addWidget(m_button_box, 4, 0, 1, -1);
|
||||||
|
|
||||||
setLayout(m_main_layout);
|
setLayout(m_main_layout);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user