Adjust General tab layout for new Yami theme of OBS 28

This commit is contained in:
WarmUpTill
2022-08-20 14:20:05 +02:00
committed by WarmUpTill
parent bcdcaed136
commit 7480e793b8
4 changed files with 273 additions and 259 deletions

View File

@@ -76,9 +76,6 @@ void AdvSceneSwitcher::loadUI()
(void)DisplayMessage(msg);
}
#if __APPLE__
setMinimumHeight(700);
#endif
setupGeneralTab();
setupTitleTab();
setupExecutableTab();

View File

@@ -194,7 +194,8 @@ void AdvSceneSwitcher::on_uiHintsDisable_stateChanged(int state)
bool isLegacyTab(const QString &name)
{
return name == obs_module_text(
return name == obs_module_text("AdvSceneSwitcher.networkTab.title") ||
name == obs_module_text(
"AdvSceneSwitcher.transitionTab.title") ||
name == obs_module_text(
"AdvSceneSwitcher.windowTitleTab.title") ||