mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #12321 from Dentomologist/netplay_setup_dialog_connect_tab_fix_spacing
NetPlaySetupDialog: Fix spacing in Connect tab
This commit is contained in:
commit
8a19be6052
@ -110,19 +110,23 @@ void NetPlaySetupDialog::CreateMainLayout()
|
|||||||
connection_layout->addWidget(m_ip_edit, 0, 1);
|
connection_layout->addWidget(m_ip_edit, 0, 1);
|
||||||
connection_layout->addWidget(m_connect_port_label, 0, 2);
|
connection_layout->addWidget(m_connect_port_label, 0, 2);
|
||||||
connection_layout->addWidget(m_connect_port_box, 0, 3);
|
connection_layout->addWidget(m_connect_port_box, 0, 3);
|
||||||
connection_layout->addWidget(
|
auto* const alert_label = new QLabel(
|
||||||
new QLabel(
|
tr("ALERT:\n\n"
|
||||||
tr("ALERT:\n\n"
|
"All players must use the same Dolphin version.\n"
|
||||||
"All players must use the same Dolphin version.\n"
|
"If enabled, SD cards must be identical between players.\n"
|
||||||
"If enabled, SD cards must be identical between players.\n"
|
"If DSP LLE is used, DSP ROMs must be identical between players.\n"
|
||||||
"If DSP LLE is used, DSP ROMs must be identical between players.\n"
|
"If a game is hanging on boot, it may not support Dual Core Netplay."
|
||||||
"If a game is hanging on boot, it may not support Dual Core Netplay."
|
" Disable Dual Core.\n"
|
||||||
" Disable Dual Core.\n"
|
"If connecting directly, the host must have the chosen UDP port open/forwarded!\n"
|
||||||
"If connecting directly, the host must have the chosen UDP port open/forwarded!\n"
|
"\n"
|
||||||
"\n"
|
"Wii Remote support in netplay is experimental and may not work correctly.\n"
|
||||||
"Wii Remote support in netplay is experimental and may not work correctly.\n"
|
"Use at your own risk.\n"));
|
||||||
"Use at your own risk.\n")),
|
|
||||||
1, 0, -1, -1);
|
// Prevent the label from stretching vertically so the spacer gets all the extra space
|
||||||
|
alert_label->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
|
||||||
|
|
||||||
|
connection_layout->addWidget(alert_label, 1, 0, 1, -1);
|
||||||
|
connection_layout->addItem(new QSpacerItem(1, 1), 2, 0, -1, -1);
|
||||||
connection_layout->addWidget(m_connect_button, 3, 3, Qt::AlignRight);
|
connection_layout->addWidget(m_connect_button, 3, 3, Qt::AlignRight);
|
||||||
|
|
||||||
connection_widget->setLayout(connection_layout);
|
connection_widget->setLayout(connection_layout);
|
||||||
|
Loading…
Reference in New Issue
Block a user