diff --git a/src/qml/ControlsBar.qml b/src/qml/ControlsBar.qml index edaa825..b8019bd 100644 --- a/src/qml/ControlsBar.qml +++ b/src/qml/ControlsBar.qml @@ -83,7 +83,7 @@ Item { color: "white" anchors.horizontalCenter: parent.horizontalCenter wrapMode: Text.WrapAtWordBoundaryOrAnywhere - font.pixelSize: mainWindow.virtualHeight / 24 + font.pixelSize: appearance.subtitlesFontSize font.family: appearance.fontName horizontalAlignment: Text.AlignHCenter opacity: 1 diff --git a/src/qml/main.qml b/src/qml/main.qml index f6205d8..f995953 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -66,6 +66,7 @@ Window { property string themeName: "YouTube" property string fontName: "Roboto" property double scaleFactor: 1.0 + property int subtitlesFontSize: 18 } Settings {