master: Add smart resizing option for master layout (#3210)
* add smart resizing for master layout * fix smart resizing workspace check * master layout fix smart resize when at max size * change resizing for center orientation so it doesnt use all nodes * master layout resizing, simplify code for calculating total height and weight * remove the redundant smart resizing check
This commit is contained in:
parent
0d53401217
commit
19bbdeed47
2 changed files with 166 additions and 13 deletions
|
|
@ -179,6 +179,7 @@ void CConfigManager::setDefaultVars() {
|
|||
configValues["master:orientation"].strValue = "left";
|
||||
configValues["master:inherit_fullscreen"].intValue = 1;
|
||||
configValues["master:allow_small_split"].intValue = 0;
|
||||
configValues["master:smart_resizing"].intValue = 1;
|
||||
|
||||
configValues["animations:enabled"].intValue = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue