1
0
Fork 0

Add subs size setting.

This commit is contained in:
namedkitten 2020-04-12 14:54:30 +01:00
parent 36e559462c
commit f8bbeccd6e
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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 {