Scaling support - doc (issue #656)

This commit is contained in:
o9000
2018-01-17 05:49:02 +00:00
parent 5c5f507e54
commit 5db0dceec2
3 changed files with 5 additions and 0 deletions

View File

@@ -279,6 +279,8 @@ gradient_id_pressed = 2
* `width` and `height` can be specified without units (e.g. `123`) as pixels, or followed by `%` as percentages of the monitor size (e.g. `50%`). Use `100%` for full monitor width/height.
Example:
* `scale_relative_to_dpi = integer` : If set to a non-zero value, HiDPI scaling is enabled. Each panel is visible on a different monitor. Thus each panel has a specific scaling factor. The scaling factor is computed as the ratio between the monitor DPI (obtained from the dimensions in pixels and millimeters from RandR) and a configured reference DPI - this is the DPI for which exising user configs looked normal, for backward compatibility.
```
# The panel's width is 94% the size of the monitor, the height is 30 pixels:
panel_size = 94% 30