console.lua: add margin_{x,y} script-opts

Allow configuring the margins from the left bottom indipendently of
--osd-margin-{x,y}.

Fixes #15478.
This commit is contained in:
Guido Cella
2024-12-10 13:05:21 +01:00
committed by Kacper Michajłow
parent db70ae6fa2
commit 5dbaa69138
3 changed files with 29 additions and 6 deletions

View File

@@ -0,0 +1 @@
add `console-margin-x` and `console-margin-y` script-opts

View File

@@ -169,6 +169,16 @@ Configurable Options
Set the font border size used for the REPL and the console.
``margin_x``
Default: same as ``--osd-margin-x``
The margin from the left of the window.
``margin_y``
Default: same as ``--osd-margin-y``
The margin from the bottom of the window.
``scale_with_window``
Default: ``auto``