Better message bubbles.

This commit is contained in:
Black Hat
2019-05-09 21:18:04 +08:00
parent 927a0aa017
commit 50445bccf1
6 changed files with 134 additions and 44 deletions

View File

@@ -105,7 +105,7 @@ Item {
id: messageListView
spacing: 4
spacing: 2
displayMarginBeginning: 100
displayMarginEnd: 100
@@ -186,6 +186,8 @@ Item {
DelegateChoice {
roleValue: "image"
delegate: ImageDelegate {
anchors.right: sentByMe ? parent.right : undefined
Layout.maximumWidth: parent.width
}
}
@@ -193,6 +195,8 @@ Item {
DelegateChoice {
roleValue: "file"
delegate: FileDelegate {
anchors.right: sentByMe ? parent.right : undefined
Layout.maximumWidth: parent.width
}
}