From e136f9f18f6ba72fd32b64f7f7c46fcc995ddfb6 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: Tue, 7 Mar 2023 15:29:57 +0800 Subject: Detail classic tabs content stack plus the instructor tab --- CourseDetailClassic.ui.qml | 58 +++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 21 deletions(-) (limited to 'CourseDetailClassic.ui.qml') diff --git a/CourseDetailClassic.ui.qml b/CourseDetailClassic.ui.qml index 2dbe98b..88892c1 100644 --- a/CourseDetailClassic.ui.qml +++ b/CourseDetailClassic.ui.qml @@ -184,34 +184,50 @@ Flickable { } } - ColumnLayout { + StackLayout { id: tabsContent - Layout.topMargin: 25.6 + currentIndex: tabs.currentIndex + Layout.topMargin: 33.6 + Layout.leftMargin: 25.6 + Layout.rightMargin: 25.6 Layout.bottomMargin: 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 + ColumnLayout { + + Label { + text: qsTr("Course Description") + color: "#24292d" + wrapMode: Text.Wrap + Layout.fillWidth: true + Layout.bottomMargin: 16 + font { + family: heebo.name + pointSize: 20.1 + } } - } - Label { - id: courseDescription - 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 + Label { + id: courseDescription + 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 + } } } + + Item {} + + InstructorContent {} + + Item {} + + Item {} + + Item {} } } } -- cgit v1.2.3