adding details to TextBackground
This commit is contained in:
parent
7e6e8c71e0
commit
6beb39bea8
3 changed files with 15 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue