diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 22:49:29 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 22:49:29 +0800 |
commit | 9a60deb26c6db9dec64b4814fb75ac39f04c5b27 (patch) | |
tree | 1dc0ec2f7873ae371430dbe7bd493b530338aa85 /Home/Default | |
parent | afb889bfe7b951089b569dca503ac2e4e4067187 (diff) |
Heading attached property is used instead of Hx
Diffstat (limited to 'Home/Default')
-rw-r--r-- | Home/Default/Card.ui.qml | 5 | ||||
-rw-r--r-- | Home/Default/Counter.ui.qml | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml index 72ce3d1..50f348c 100644 --- a/Home/Default/Card.ui.qml +++ b/Home/Default/Card.ui.qml @@ -2,6 +2,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 +import Bootstrap 5.3 import Eduport 1.4 import "../../DropShadow" as DrpShdw import "../../Label" as Lbl @@ -127,9 +128,11 @@ Item { } } - Lbl.H5 { + Label { id: title text: titleText + wrapMode: Label.Wrap + Bootstrap.heading: 5 color: Eduport.bsCardTitleColor Layout.fillWidth: true Layout.bottomMargin: 8 diff --git a/Home/Default/Counter.ui.qml b/Home/Default/Counter.ui.qml index 41d79f4..16873e2 100644 --- a/Home/Default/Counter.ui.qml +++ b/Home/Default/Counter.ui.qml @@ -1,8 +1,8 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 +import Bootstrap 5.3 import Eduport 1.4 -import "../../Label" as Lbl Item { Rectangle { @@ -38,8 +38,10 @@ Item { leftMargin: 25.6 } - Lbl.H5 { + Label { text: count + wrapMode: Label.Wrap + Bootstrap.heading: 5 Layout.fillWidth: true } |