summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorRyan Hendrickson <ryan.hendrickson@alum.mit.edu>2022-07-12 16:50:32 -0400
committeravih <avih@users.noreply.github.com>2022-07-19 23:19:45 +0300
commitad5a1ac8733e6b4cf86e7b6d84c50ddf37ca62cd (patch)
tree7b445aaa7cfe77a6a7d872a134f01f0be418e7c7 /DOCS
parentff25a8c65a1c6cf1e38a5e01a3ec47dbe2e65ab7 (diff)
downloadmpv-ad5a1ac8733e6b4cf86e7b6d84c50ddf37ca62cd.tar.bz2
mpv-ad5a1ac8733e6b4cf86e7b6d84c50ddf37ca62cd.tar.xz
osc.lua: add osc-tcspace script option
Generally, the hard-coded sizes used for the OSC elements are comfortable regardless of the font used, but the timecode fields have relatively many characters, and so are affected to a greater degree by fonts with a wider or narrower average character width than expected. This allow users to adjust the space reserved for the timecode fields to compensate.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/osc.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/osc.rst b/DOCS/man/osc.rst
index 41f89b2e35..adcb52cbec 100644
--- a/DOCS/man/osc.rst
+++ b/DOCS/man/osc.rst
@@ -315,6 +315,14 @@ Configurable Options
Display timecodes with milliseconds
+``tcspace``
+ Default: 100 (allowed: 50-200)
+
+ Adjust space reserved for timecodes (current time and time remaining) in
+ the ``bottombar`` and ``topbar`` layouts. The timecode width depends on the
+ font, and with some fonts the spacing near the timecodes becomes too small.
+ Use values above 100 to increase that spacing, or below 100 to decrease it.
+
``visibility``
Default: auto (auto hide/show on mouse move)