Added center orientation to master layout (#1642)

* Added center orientation to master layout to improve experience on ultra widescreen monitors.

* Added support for orientationcenter layout message for master layout

* Added ability to optionally always center master window when in centered master mode.
This commit is contained in:
Marcus Kellerman
2023-02-26 15:12:14 -08:00
committed by GitHub
parent 2e21ad875b
commit 492f36f7df
3 changed files with 98 additions and 14 deletions

View File

@@ -114,6 +114,7 @@ void CConfigManager::setDefaultVars() {
configValues["master:special_scale_factor"].floatValue = 0.8f;
configValues["master:new_is_master"].intValue = 1;
configValues["master:always_center_master"].intValue = 0;
configValues["master:new_on_top"].intValue = 0;
configValues["master:no_gaps_when_only"].intValue = 0;
configValues["master:orientation"].strValue = "left";