diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 15:10:21 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 15:10:21 +0800 |
commit | 2cf3e72be21545981f27b838832a055d1dc27489 (patch) | |
tree | d7476a60ae843c95db25bc2dcee96d127388e59c /Course/Detail/Classic/Content/Main.ui.qml | |
parent | 48b85fe1c1945efb66a4eb81e4405efabc12c1ce (diff) |
NavLinks replace TabItem
Diffstat (limited to 'Course/Detail/Classic/Content/Main.ui.qml')
-rw-r--r-- | Course/Detail/Classic/Content/Main.ui.qml | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/Course/Detail/Classic/Content/Main.ui.qml b/Course/Detail/Classic/Content/Main.ui.qml index a1071e7..91cbce3 100644 --- a/Course/Detail/Classic/Content/Main.ui.qml +++ b/Course/Detail/Classic/Content/Main.ui.qml @@ -3,8 +3,8 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 import Bootstrap 5.3 -import "../../../.." import "../../../../Label" as Lbl +import "../../../../Button/NavLink" as NavLink import "Main/TabContents" as MainTabContents ColumnLayout { @@ -58,21 +58,7 @@ ColumnLayout { model: ["Overview", "Curriculum", "Instructor", "Reviews", "FAQs", "Comment"] - delegate: TabItem { - contentItem: Text { - text: modelData - color: "#066ac9" - font { - family: Bootstrap.bodyFont.family - weight: Bootstrap.bodyFont.weight - pointSize: Bootstrap.bodyFont.pointSize - } - } - background: Rectangle { - color: index == currentIndex ? "#1a0fffff" : "transparent" - radius: 5.2 - } - } + delegate: NavLink.TabsLine {} } StackLayout { |