From d18f2df2d631606a30922148b019b5cef1764f6d 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: Thu, 23 Mar 2023 10:38:54 +0800 Subject: Each header has its own QML --- Home/Default/Card.ui.qml | 3 +-- Home/Default/Counter.ui.qml | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'Home/Default') diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml index d2ad479..da56fdb 100644 --- a/Home/Default/Card.ui.qml +++ b/Home/Default/Card.ui.qml @@ -115,13 +115,12 @@ Item { } } - Lbl.Hx { + Lbl.H5 { id: title text: titleText color: Qt.rgba(.141, .161, .176, 1.0) Layout.fillWidth: true Layout.bottomMargin: 8 - font.pointSize: 20.1 + .00075 * parent.width MouseArea { id: titleArea diff --git a/Home/Default/Counter.ui.qml b/Home/Default/Counter.ui.qml index 77f1e74..f33344b 100644 --- a/Home/Default/Counter.ui.qml +++ b/Home/Default/Counter.ui.qml @@ -38,10 +38,8 @@ Item { leftMargin: 25.6 } - Lbl.Hx { + Lbl.H5 { text: count - font.pointSize: 20.1 - + .00075 * parent.width Layout.fillWidth: true } -- cgit v1.2.3