diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 12:02:19 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 12:02:19 +0800 |
commit | 9d892d1756ecc232d0c042cacaa504a02c6e42ed (patch) | |
tree | fc541ca27b7bfc88746ae1c97e646b02c42f0cbc | |
parent | 6366fd64c348778c31bddbbda9ca3e071d50e2ff (diff) |
Rename to hxFont & set default pointSize
-rw-r--r-- | Label/Hx.ui.qml | 4 | ||||
-rw-r--r-- | imports/Eduport/Eduport.qml | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Label/Hx.ui.qml b/Label/Hx.ui.qml index 5e97303..ed008c5 100644 --- a/Label/Hx.ui.qml +++ b/Label/Hx.ui.qml @@ -5,8 +5,8 @@ import Eduport 1.4 Label { wrapMode: Label.Wrap font { - family: Eduport.hFont.family - weight: Eduport.hFont.weight + family: Eduport.hxFont.family + weight: Eduport.hxFont.weight pointSize: Eduport.h6FontSize } } diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml index 14fe725..db2a6fa 100644 --- a/imports/Eduport/Eduport.qml +++ b/imports/Eduport/Eduport.qml @@ -28,9 +28,10 @@ QtObject { family: haveRoboto ? "Roboto" : roboto.name, weight: Font.Bold }) - readonly property font hFont: Qt.font({ + readonly property font hxFont: Qt.font({ family: bold.name, - weight: Font.Bold + weight: Font.Bold, + pointSize: h6FontSize }) readonly property font fwNormalFont: Qt.font({ family: medium.name, |