From 9a60deb26c6db9dec64b4814fb75ac39f04c5b27 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, 12 Apr 2023 22:49:29 +0800 Subject: Heading attached property is used instead of Hx --- Home/Default/Card.ui.qml | 5 ++++- Home/Default/Counter.ui.qml | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Home/Default') 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 } -- cgit v1.2.3