Small UI tweaks && bug fixes.
This commit is contained in:
@@ -13,18 +13,18 @@ AvatarContainer {
|
||||
width: Math.min(messageText.implicitWidth + 24, messageListView.width - (!sentByMe ? 40 + messageRow.spacing : 0))
|
||||
height: messageText.implicitHeight + 24
|
||||
|
||||
color: isNotice ? "transparent" : sentByMe ? "lightgrey" : Material.accent
|
||||
color: isNotice ? "transparent" : !sentByMe ? Material.accent : background
|
||||
border.color: Material.accent
|
||||
border.width: isNotice ? 2 : 0
|
||||
|
||||
Label {
|
||||
id: messageText
|
||||
text: display
|
||||
color: isNotice ? "black" : sentByMe ? "black" : "white"
|
||||
color: isNotice || sentByMe ? Material.foreground : "white"
|
||||
anchors.fill: parent
|
||||
anchors.margins: 12
|
||||
wrapMode: Label.Wrap
|
||||
linkColor: isNotice ? Material.accent : sentByMe ? Material.accent : "white"
|
||||
linkColor: isNotice || sentByMe ? Material.accent : "white"
|
||||
// textFormat: contentType === "text/html" ? Text.RichText : Text.StyledText
|
||||
textFormat: Text.StyledText
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user