Add support to resize floating container in percentage

resize set is modified to accept both 'px' and 'ppt' height and width.

Fixes #2816.
This commit is contained in:
Orestis Floros
2017-10-18 02:04:42 +03:00
parent d4eaea8289
commit b17e7b82c6
5 changed files with 75 additions and 10 deletions

View File

@ -2302,7 +2302,7 @@ If you want to resize containers/windows using your keyboard, you can use the
*Syntax*:
-------------------------------------------------------
resize grow|shrink <direction> [<px> px [or <ppt> ppt]]
resize set <width> [px] <height> [px]
resize set <width> [px | ppt] <height> [px | ppt]
-------------------------------------------------------
Direction can either be one of +up+, +down+, +left+ or +right+. Or you can be