mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: Add "18 Scenes" multiview option
Adds a "18 Scenes" multiview option. The 18 scene view leaves the preview and program sized to the upper half of the window Settings index in combobox may not match up with enum index. Settings in the dropdown can now be ordered separately from the enum order.
This commit is contained in:
1 parent
21a9c5b7d9
commit
a64328da56
4 files changed
+51
-5
No files matched your search
@@ -1350,12 +1350,16 @@ void OBSBasicSettings::LoadGeneralSettings()
|
||||
ui->multiviewLayout->addItem(
|
||||
QTStr("Basic.Settings.General.MultiviewLayout.Vertical.Right"),
|
||||
static_cast<int>(MultiviewLayout::VERTICAL_RIGHT_8_SCENES));
|
||||
ui->multiviewLayout->addItem(
|
||||
QTStr("Basic.Settings.General.MultiviewLayout.Horizontal.18Scene.Top"),
|
||||
static_cast<int>(MultiviewLayout::HORIZONTAL_TOP_18_SCENES));
|
||||
ui->multiviewLayout->addItem(
|
||||
QTStr("Basic.Settings.General.MultiviewLayout.Horizontal.Extended.Top"),
|
||||
static_cast<int>(MultiviewLayout::HORIZONTAL_TOP_24_SCENES));
|
||||
|
||||
ui->multiviewLayout->setCurrentIndex(config_get_int(
|
||||
GetGlobalConfig(), "BasicWindow", "MultiviewLayout"));
|
||||
ui->multiviewLayout->setCurrentIndex(
|
||||
ui->multiviewLayout->findData(
|
||||
config_get_int(GetGlobalConfig(), "BasicWindow", "MultiviewLayout")));
|
||||
|
||||
prevLangIndex = ui->language->currentIndex();
|
||||
|
||||
|
||||
Reference in new issue
Block a user