Add subs size setting.
This commit is contained in:
parent
36e559462c
commit
f8bbeccd6e
|
@ -83,7 +83,7 @@ Item {
|
||||||
color: "white"
|
color: "white"
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
font.pixelSize: mainWindow.virtualHeight / 24
|
font.pixelSize: appearance.subtitlesFontSize
|
||||||
font.family: appearance.fontName
|
font.family: appearance.fontName
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
opacity: 1
|
opacity: 1
|
||||||
|
|
|
@ -66,6 +66,7 @@ Window {
|
||||||
property string themeName: "YouTube"
|
property string themeName: "YouTube"
|
||||||
property string fontName: "Roboto"
|
property string fontName: "Roboto"
|
||||||
property double scaleFactor: 1.0
|
property double scaleFactor: 1.0
|
||||||
|
property int subtitlesFontSize: 18
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings {
|
Settings {
|
||||||
|
|
Loading…
Reference in a new issue