Merge pull request #7897 from spycrab/qt_mapping_dialog

Qt/PadMappingDialog: Improve layout
This commit is contained in:
JMC47 2019-03-16 12:07:43 -04:00 committed by GitHub
commit 2a9f01c1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -35,12 +35,12 @@ void PadMappingDialog::CreateWidgets()
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("Wii Remote %1").arg(i + 1)), 0, 4 + 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);
}