Commit 2c56c907 authored by camilo higuita's avatar camilo higuita

messagecomposer iwht new editor props

parent f70ddc0f
...@@ -41,12 +41,28 @@ SwipeDelegate ...@@ -41,12 +41,28 @@ SwipeDelegate
z: background.z -1 z: background.z -1
} }
DropShadow
{
visible: _bg.visible
anchors.fill: background
horizontalOffset: 5
verticalOffset: 0
radius: 8.0
samples: 17
color: Qt.darker(_bg.color, 5)
source: background
}
background: Rectangle background: Rectangle
{ {
color: hovered ? Kirigami.Theme.hoverColor : Kirigami.Theme.backgroundColor color: hovered ? Kirigami.Theme.hoverColor : Kirigami.Theme.backgroundColor
// border.color: borderColor // border.color: Qt.rgba(_bg.color.r, _bg.color.g, _bg.color.b, swipe.position < 0)
radius: control.radius radius: control.radius
// anchors.fill: control // anchors.fill: control
RowLayout RowLayout
...@@ -281,6 +297,7 @@ SwipeDelegate ...@@ -281,6 +297,7 @@ SwipeDelegate
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: space.big spacing: space.big
padding: space.medium
ToolButton ToolButton
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment