From 13e98a427af2ce0ad2dfdb99b2939b5d6cf5d8b9 Mon Sep 17 00:00:00 2001 From: Omer Yacine Date: Tue, 22 Nov 2022 14:14:09 +0200 Subject: [PATCH] Use the same font for all the components --- Components/Input.qml | 2 ++ Components/SessionButton.qml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Components/Input.qml b/Components/Input.qml index ae90b86..4d92eb6 100644 --- a/Components/Input.qml +++ b/Components/Input.qml @@ -297,6 +297,7 @@ Column { anchors.left: indicator.right anchors.leftMargin: indicator.width / 2 font.pointSize: root.font.pointSize * 0.8 + font.family: root.font.family color: root.palette.text } @@ -452,6 +453,7 @@ Column { text: parent.text color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#444" : "white" font.pointSize: root.font.pointSize + font.family: root.font.family horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter opacity: 0.5 diff --git a/Components/SessionButton.qml b/Components/SessionButton.qml index f9c377c..21cced4 100644 --- a/Components/SessionButton.qml +++ b/Components/SessionButton.qml @@ -51,6 +51,7 @@ Item { contentItem: Text { text: model.name font.pointSize: root.font.pointSize * 0.8 + font.family: root.font.family color: selectSession.highlightedIndex === index ? root.palette.highlight.hslLightness >= 0.7 ? "#444444" : "white" : root.palette.window.hslLightness >= 0.8 ? root.palette.highlight.hslLightness >= 0.8 ? "#444444" : root.palette.highlight : "white" verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter @@ -73,6 +74,7 @@ Item { anchors.left: parent.left anchors.leftMargin: 3 font.pointSize: root.font.pointSize * 0.8 + font.family: root.font.family Keys.onReleased: parent.popup.open() }