summaryrefslogtreecommitdiff
path: root/DropShadow
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 15:19:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 15:20:21 +0800
commit334044f98e4d0e96214c40d43ffa239a82ca5248 (patch)
tree201c20894936b9f36b40daa9771930c45bbdb433 /DropShadow
parentaf3c42108149b41fc272e02b7dc2f51e1da0ec1f (diff)
bs-box-shadow implementation & its use in Card
Diffstat (limited to 'DropShadow')
-rw-r--r--DropShadow/Box.ui.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/DropShadow/Box.ui.qml b/DropShadow/Box.ui.qml
new file mode 100644
index 0000000..774b0d3
--- /dev/null
+++ b/DropShadow/Box.ui.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.15
+import QtGraphicalEffects 1.15
+import Eduport 1.4
+
+DropShadow {
+ horizontalOffset: Eduport.bsBoxShadowOffsetX
+ verticalOffset: Eduport.bsBoxShadowOffsetY
+ radius: Eduport.bsBoxShadowBlurRadius / 5
+ samples: radius * 2 + 1
+ color: Eduport.bsBoxShadowColor
+}