Verified Commit 4b81957b authored by Melvin Keskin's avatar Melvin Keskin Committed by Linus Jahn

Make shadow color of message sending area darker than its background color

Signed-off-by: Linus Jahn's avatarLinus Jahn <lnj@kaidan.im>
parent b243744a
......@@ -456,22 +456,25 @@ ChatPageBase {
}
}
// Message Writing
// area for writing and sending a message
footer: Controls.Pane {
id: sendingArea
padding: 0
wheelEnabled: true
background: Rectangle {
id: sendingAreaBackground
color: Kirigami.Theme.backgroundColor
}
layer.enabled: sendingArea.enabled
layer.effect: DropShadow {
verticalOffset: 1
color: Kirigami.Theme.disabledTextColor
color: Qt.darker(sendingAreaBackground.color, 1.2)
samples: 20
spread: 0.3
cached: true // element is static
}
padding: 0
wheelEnabled: true
background: Rectangle {
color: Kirigami.Theme.backgroundColor
}
RowLayout {
anchors.fill: parent
......
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