From dd38bd5503e01c3849110765c455f4490fc61ae6 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, 15 Feb 2023 14:51:54 +0800 Subject: Course description & the grid works --- CourseDetailClassic.ui.qml | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/CourseDetailClassic.ui.qml b/CourseDetailClassic.ui.qml index 19617a4..f0a711a 100644 --- a/CourseDetailClassic.ui.qml +++ b/CourseDetailClassic.ui.qml @@ -114,15 +114,19 @@ Flickable { } GridLayout { + Layout.fillWidth: true columns: width < 992 ? 1 : 2 rows: width < 992 ? 2 : 1 ColumnLayout { -/* + Layout.alignment: Qt.AlignTop + Layout.maximumWidth: body.width / 2 + Item { Layout.fillWidth: true Layout.leftMargin: 15 Layout.rightMargin: 15 + implicitHeight: mainContent.height DropShadow { source: mainContent @@ -133,10 +137,46 @@ Flickable { Rectangle { id: mainContent radius: 5.2 - anchors.fill: parent + anchors { + left: parent.left + right: parent.right + } + implicitHeight: tabsContent.height + + ColumnLayout { + id: tabsContent + anchors { + left: parent.left + leftMargin: 25.6 + right: parent.right + rightMargin: 25.6 + } + + Label { + text: qsTr("Course Description") + color: "#24292d" + wrapMode: Text.Wrap + Layout.fillWidth: true + Layout.bottomMargin: 16 + font { + family: heebo.name + pointSize: 20.1 + } + } + + Label { + text: qsTr("Welcome to the Digital Marketing Ultimate Course Bundle - 12 Courses in 1 (Over 36 hours of content)") + color: "#747579" + wrapMode: Text.Wrap + Layout.fillWidth: true + font { + family: doesntEmbed ? "Roboto" : regular.name + pointSize: 15 + } + } + } } } -*/ } ColumnLayout { -- cgit v1.2.3