From de28846eccfd0fed92ce5bde51292a5a70222308 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 11:53:58 +0800 Subject: Counter uses custom labels --- Home/Default/Counter.ui.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Home') diff --git a/Home/Default/Counter.ui.qml b/Home/Default/Counter.ui.qml index b2b0759..77f1e74 100644 --- a/Home/Default/Counter.ui.qml +++ b/Home/Default/Counter.ui.qml @@ -2,6 +2,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import Eduport 1.4 +import "../../Label" as Lbl Item { Rectangle { @@ -37,14 +38,10 @@ Item { leftMargin: 25.6 } - Label { + Lbl.Hx { text: count - font { - family: Eduport.hFont.family - weight: Eduport.hFont.weight - pointSize: 20.1 + font.pointSize: 20.1 + .00075 * parent.width - } Layout.fillWidth: true } -- cgit v1.2.3