summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-15 14:51:54 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-15 14:51:54 +0800
commitdd38bd5503e01c3849110765c455f4490fc61ae6 (patch)
treef09af41c25fd4b32332426b216f72ca109267ca1
parent0625e41d8cc87217160e9856cac5ee2a8df4d8cb (diff)
Course description & the grid works
-rw-r--r--CourseDetailClassic.ui.qml46
1 files 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 {