aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorVyacheslav Karpukhin <vyacheslav@karpukhin.com>2024-07-02 01:48:06 +0200
committerVyacheslav Karpukhin <vyacheslav@karpukhin.com>2024-10-07 23:45:04 +0200
commit27fd1762539f1d4c67fa862e12d65869f07414b4 (patch)
treec4379f2768acb3f6589a025af3a3cdd687b7888b /system
parenteb29391d79578fd2e022f1bdcbf7ce4efdb02d5a (diff)
[Subtitles][Settings] Add a setting to make subtitles line spacing configurable
- The default value is chosen to avoid the overlaps with Box background style - Some of the subtitles settings are moved from Expert to Advanced level
Diffstat (limited to 'system')
-rwxr-xr-xsystem/settings/settings.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index 7434932d4a..db2375bb0a 100755
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -605,7 +605,7 @@
<control type="list" format="string" />
</setting>
<setting id="subtitles.fontsize" type="integer" label="289" help="36186">
- <level>3</level>
+ <level>2</level>
<default>42</default> <!-- in pixels -->
<constraints>
<minimum>12</minimum>
@@ -618,7 +618,7 @@
<control type="list" format="string" />
</setting>
<setting id="subtitles.style" type="integer" label="736" help="36187">
- <level>3</level>
+ <level>2</level>
<default>0</default> <!-- FontStyle::NORMAL -->
<constraints>
<options>
@@ -631,17 +631,17 @@
<control type="list" format="string" />
</setting>
<setting id="subtitles.colorpick" type="string" label="737" help="36188">
- <level>3</level>
+ <level>2</level>
<default>FFFFFFFF</default> <!-- White -->
<control type="colorbutton" />
</setting>
<setting id="subtitles.opacity" type="integer" label="752" help="36295">
- <level>3</level>
+ <level>2</level>
<default>100</default>
<control type="slider" format="percentage" range="0,100" />
</setting>
<setting id="subtitles.bordersize" type="integer" label="39159" help="688">
- <level>3</level>
+ <level>2</level>
<default>25</default>
<dependencies>
<dependency type="enable" setting="subtitles.backgroundtype" operator="!is">2</dependency>
@@ -649,7 +649,7 @@
<control type="slider" format="percentage" range="0,100" />
</setting>
<setting id="subtitles.bordercolorpick" type="string" label="39160" help="689">
- <level>3</level>
+ <level>2</level>
<default>FF000000</default> <!-- Black -->
<dependencies>
<dependency type="enable" setting="subtitles.backgroundtype" operator="!is">2</dependency>
@@ -661,6 +661,11 @@
<default>0</default>
<control type="slider" format="percentage" range="0,100" />
</setting>
+ <setting id="subtitles.linespacing" type="integer" label="39202" help="39203">
+ <level>3</level>
+ <default>12</default>
+ <control type="slider" format="percentage" range="0,100" />
+ </setting>
<setting id="subtitles.backgroundtype" type="integer" label="39165" help="39169">
<level>3</level>
<default>0</default> <!-- BackgroundType::NONE -->