diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 11:53:58 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 11:53:58 +0800 |
commit | de28846eccfd0fed92ce5bde51292a5a70222308 (patch) | |
tree | 9c850214c8dda26b129590446b0f14e218a68510 /Home/Default | |
parent | 6aab39fc699992ea600f5472affa47fe7691885e (diff) |
Counter uses custom labels
Diffstat (limited to 'Home/Default')
-rw-r--r-- | Home/Default/Counter.ui.qml | 9 |
1 files changed, 3 insertions, 6 deletions
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 } |