summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-21 20:44:50 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-21 20:44:50 +0800
commitd8b87b4215aa1d67eb2e7462d66fb21774de82bf (patch)
treed3a2e8bec213c3002801e7004b6c116fe6bf97f7
parent7fd7ddd198d5f3527e64c1a0d31d5c44cf90b907 (diff)
Rename to fwNormal & set counter font weights
-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
})