UI: Add Studio Mode layout option for portrait mode displays
This commit adds a checkbox to general setting to allow users to enable a vertically oriented layout for studio mode. This commit addresses mantis issue 827: https://obsproject.com/mantis/view.php?id=827 Closes jp9000/obs-studio#1072
This commit is contained in:
parent
68e67366d2
commit
f140104da8
6 changed files with 38 additions and 3 deletions
|
|
@ -1016,6 +1016,7 @@ void OBSBasic::SetPreviewProgramMode(bool enabled)
|
|||
|
||||
ui->previewLayout->addWidget(programOptions);
|
||||
ui->previewLayout->addWidget(program);
|
||||
ui->previewLayout->setAlignment(programOptions, Qt::AlignCenter);
|
||||
program->show();
|
||||
|
||||
if (api)
|
||||
|
|
@ -1059,6 +1060,7 @@ void OBSBasic::SetPreviewProgramMode(bool enabled)
|
|||
"-------------------");
|
||||
}
|
||||
|
||||
ResetUI();
|
||||
UpdateTitleBar();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue