render messages as rectanglar, not bubbly
This commit is contained in:
parent
588c23ebdc
commit
05e88b5e4b
|
@ -115,7 +115,7 @@ ColumnLayout {
|
||||||
maskSource: Rectangle {
|
maskSource: Rectangle {
|
||||||
width: img.width
|
width: img.width
|
||||||
height: img.height
|
height: img.height
|
||||||
radius: 24
|
radius: 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,10 +80,10 @@ ColumnLayout {
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
|
|
||||||
visible: !sentByMe && (bubbleShape == 3 || bubbleShape == 2)
|
visible: true
|
||||||
|
|
||||||
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
||||||
radius: 2
|
radius: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -93,10 +93,10 @@ ColumnLayout {
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
|
|
||||||
visible: sentByMe && (bubbleShape == 3 || bubbleShape == 2)
|
visible: true
|
||||||
|
|
||||||
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
||||||
radius: 2
|
radius: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -106,10 +106,10 @@ ColumnLayout {
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
|
|
||||||
visible: !sentByMe && (bubbleShape == 1 || bubbleShape == 2)
|
visible: true
|
||||||
|
|
||||||
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
||||||
radius: 2
|
radius: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -119,10 +119,10 @@ ColumnLayout {
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
|
|
||||||
visible: sentByMe && (bubbleShape == 1 || bubbleShape == 2)
|
visible: true
|
||||||
|
|
||||||
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent
|
||||||
radius: 2
|
radius: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoMouseArea {
|
AutoMouseArea {
|
||||||
|
|
Loading…
Reference in New Issue