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 --- Shop/cart/Table/CourseItem.ui.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Shop/cart/Table') diff --git a/Shop/cart/Table/CourseItem.ui.qml b/Shop/cart/Table/CourseItem.ui.qml index ded50d2..62ae107 100644 --- a/Shop/cart/Table/CourseItem.ui.qml +++ b/Shop/cart/Table/CourseItem.ui.qml @@ -2,9 +2,9 @@ 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 "../../../TextField" -import "../../../Label" import "../../../Button" GridLayout { @@ -38,13 +38,15 @@ GridLayout { } } - H6 { + Label { id: courseItemTitle text: "Course Item Title" - Layout.maximumHeight: courseItemImage.height + wrapMode: Label.Wrap + Bootstrap.heading: 6 + Layout.maximumHeight: courseItemImage.height Layout.alignment: parent.width < 990 ? Qt.AlignTop | Qt.AlignHCenter : Qt.AlignLeft | Qt.AlignVCenter Layout.fillWidth: true Layout.fillHeight: parent.width < 990 ? true : false } -} \ No newline at end of file +} -- cgit v1.2.3