aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorStefano Gottardo <gottardo.stefano.83@gmail.com>2024-10-21 16:47:55 +0200
committerGitHub <noreply@github.com>2024-10-21 16:47:55 +0200
commit904e2ea742d4ccd4d6497b7ef91c56ea669caed8 (patch)
tree8ce2615f5cbb0bc0f2277529f19e4b65f6a83ff6 /system
parentd6b1479064d4b0314585b7eb49be66cbc1204b5a (diff)
parent27fd1762539f1d4c67fa862e12d65869f07414b4 (diff)
Merge pull request #25421 from stigger/subtitles_line_spacing_setting
Add a setting to make subtitles line spacing configurable
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 -->