diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-29 17:28:46 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-29 17:28:46 +0800 |
commit | 37b800b7701a590b0264f58883a9c0ea64348da0 (patch) | |
tree | 79dcf5cf6cf7f8d7859e476c168e6e04d3f0033f /Course/Detail/Classic/Content/Main.ui.qml | |
parent | 2523a743471c5e17e3784d716e291770207f7da3 (diff) |
Fix detail background & shadow
Diffstat (limited to 'Course/Detail/Classic/Content/Main.ui.qml')
-rw-r--r-- | Course/Detail/Classic/Content/Main.ui.qml | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/Course/Detail/Classic/Content/Main.ui.qml b/Course/Detail/Classic/Content/Main.ui.qml index b00fe1d..625038f 100644 --- a/Course/Detail/Classic/Content/Main.ui.qml +++ b/Course/Detail/Classic/Content/Main.ui.qml @@ -2,6 +2,8 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 +import Eduport 1.4 +import "../../../../DropShadow" as DrpShdw import "../../../../Label" as Lbl import "../../../../Button/NavLink" as NavLink import "Main/TabContents" as MainTabContents @@ -14,27 +16,31 @@ ColumnLayout { Layout.fillWidth: true Layout.leftMargin: 15 Layout.rightMargin: 15 - implicitHeight: rectangle.height - - DropShadow { - source: rectangle - color: "#4d000000" - verticalOffset: 4 - radius: 12 - samples: 12 - anchors.fill: rectangle - } + implicitHeight: content.height Rectangle { - id: rectangle - radius: 5.2 + id: content + color: Eduport.bsBodyBg anchors { left: parent.left right: parent.right } implicitHeight: tabs.height + tabContents.height + 83.2 + DrpShdw.Box { + source: rectangle + anchors.fill: rectangle + } + + Rectangle { + id: rectangle + anchors.fill: container + color: Eduport.bsCardBg + radius: 5.2 + } + ColumnLayout { + id: container anchors { left: parent.left right: parent.right |