render messages as rectanglar, not bubbly

square-messages
expectocode 2019-05-09 21:27:15 +01:00
parent 588c23ebdc
commit 05e88b5e4b
2 changed files with 9 additions and 9 deletions

View File

@ -115,7 +115,7 @@ ColumnLayout {
maskSource: Rectangle {
width: img.width
height: img.height
radius: 24
radius: 6
}
}

View File

@ -80,10 +80,10 @@ ColumnLayout {
width: parent.width / 2
height: parent.height / 2
visible: !sentByMe && (bubbleShape == 3 || bubbleShape == 2)
visible: true
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
radius: 2
radius: 5
}
Rectangle {
@ -93,10 +93,10 @@ ColumnLayout {
width: parent.width / 2
height: parent.height / 2
visible: sentByMe && (bubbleShape == 3 || bubbleShape == 2)
visible: true
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
radius: 2
radius: 5
}
Rectangle {
@ -106,10 +106,10 @@ ColumnLayout {
width: parent.width / 2
height: parent.height / 2
visible: !sentByMe && (bubbleShape == 1 || bubbleShape == 2)
visible: true
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
radius: 2
radius: 5
}
Rectangle {
@ -119,10 +119,10 @@ ColumnLayout {
width: parent.width / 2
height: parent.height / 2
visible: sentByMe && (bubbleShape == 1 || bubbleShape == 2)
visible: true
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
radius: 2
radius: 5
}
AutoMouseArea {