mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
feature: add resize-by-cells option to constrain window sizes...
...to multiples of the cell size, and preserve grid size when changing fonts or display scales in floating windows.
This commit is contained in:
parent
e0f3703ae6
commit
21a8d832ce
8 changed files with 120 additions and 55 deletions
|
|
@ -252,6 +252,21 @@ empty string to be set, but it must be quoted: *KEY=""*)
|
|||
|
||||
Default: _100_.
|
||||
|
||||
*resize-by-cells*
|
||||
Boolean.
|
||||
|
||||
When set to *yes*, the window size will be constrained to multiples
|
||||
of the cell size (plus any configured padding). When set to *no*,
|
||||
the window size will be unconstrained, and padding may be adjusted
|
||||
as necessary to accommodate window sizes that are not multiples of
|
||||
the cell size.
|
||||
|
||||
This option only applies to floating windows. Sizes of maxmized, tiled
|
||||
or fullscreen windows will not be constrained to multiples of the cell
|
||||
size.
|
||||
|
||||
Default: _yes_
|
||||
|
||||
*initial-window-size-pixels*
|
||||
Initial window width and height in _pixels_ (subject to output
|
||||
scaling), in the form _WIDTHxHEIGHT_. The height _includes_ the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue