Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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
...@@ -59,7 +75,7 @@ SwipeDelegate ...@@ -59,7 +75,7 @@ SwipeDelegate
Item Item
{ {
id: _contactPic id: _contactPic
visible: control.width > Kirigami.Units.gridUnit * 15 visible: control.width > Kirigami.Units.gridUnit * 15
Layout.fillHeight: true Layout.fillHeight: true
Layout.preferredWidth: iconSizes.huge Layout.preferredWidth: iconSizes.huge
...@@ -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