adding details to TextBackground

This commit is contained in:
Chris Cochrun 2023-09-29 05:43:07 -05:00
parent 7e6e8c71e0
commit 6beb39bea8
3 changed files with 15 additions and 2 deletions

View file

@ -1,6 +1,8 @@
import QtQuick 2.13
import QtGraphicalEffects 1.15
Rectangle {
id: root
// Used for
property var control
property bool errorCondition
@ -17,4 +19,14 @@ Rectangle {
else
return Kirigami.Theme.positiveColor
}
DropShadow {
id: shadow
source: root
horizontalOffset: 2
verticalOffset: 2
radius: 3
samples: 8
color: "black"
}
}