summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Home/Default/Counter.ui.qml7
-rw-r--r--imports/Eduport/Eduport.qml2
2 files changed, 6 insertions, 3 deletions
diff --git a/Home/Default/Counter.ui.qml b/Home/Default/Counter.ui.qml
index 587d463..b2b0759 100644
--- a/Home/Default/Counter.ui.qml
+++ b/Home/Default/Counter.ui.qml
@@ -41,6 +41,7 @@ Item {
text: count
font {
family: Eduport.hFont.family
+ weight: Eduport.hFont.weight
pointSize: 20.1
+ .00075 * parent.width
}
@@ -50,8 +51,10 @@ Item {
Label {
text: title
font {
- family: Eduport.normalFont
- .family
+ family: Eduport.fwNormalFont
+ .family
+ weight: Eduport.fwNormalFont
+ .weight
pointSize: h6FontSize
}
Layout.fillWidth: true
diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml
index d2c7831..106b1ab 100644
--- a/imports/Eduport/Eduport.qml
+++ b/imports/Eduport/Eduport.qml
@@ -17,7 +17,7 @@ QtObject {
family: bold.name,
weight: Font.Bold
})
- readonly property font normalFont: Qt.font({
+ readonly property font fwNormalFont: Qt.font({
family: medium.name,
weight: Font.Medium
})