From 9d892d1756ecc232d0c042cacaa504a02c6e42ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 22 Mar 2023 12:02:19 +0800 Subject: Rename to hxFont & set default pointSize --- Label/Hx.ui.qml | 4 ++-- 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, -- cgit v1.2.3