diff options
-rw-r--r-- | Home/Default.ui.qml | 4 | ||||
-rw-r--r-- | imports/Eduport/Eduport.qml | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Home/Default.ui.qml b/Home/Default.ui.qml index 9353c6b..34ab45f 100644 --- a/Home/Default.ui.qml +++ b/Home/Default.ui.qml @@ -49,7 +49,9 @@ Flickable { Layout.fillWidth: true font { family: Eduport.hFont.family - pointSize: 23.6 + .0432 * width + weight: Eduport.hFont.weight + pointSize: 23.6 + + .027 * parent.width } } diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml index e2dbed3..ea01fa2 100644 --- a/imports/Eduport/Eduport.qml +++ b/imports/Eduport/Eduport.qml @@ -14,9 +14,11 @@ QtObject { source: "../../Heebo/Heebo-Medium.ttf" } readonly property font hFont: Qt.font({ - family: bold.name + family: bold.name, + weight: Font.Bold }) readonly property font normalFont: Qt.font({ - family: medium.name + family: medium.name, + weight: Font.Medium }) } |