Use same color as avatars for message user names
This commit is contained in:
parent
0df46a0415
commit
33743baa12
|
@ -19,7 +19,7 @@ Row {
|
||||||
id: nameLabel
|
id: nameLabel
|
||||||
text: displayName.value || dict.sender
|
text: displayName.value || dict.sender
|
||||||
background: Rectangle {color: "#DDD"}
|
background: Rectangle {color: "#DDD"}
|
||||||
color: isOwn ? "teal" : "purple"
|
color: Qt.hsla(Backend.hueFromString(text), 0.22, 0.4, 1)
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
maximumLineCount: 1
|
maximumLineCount: 1
|
||||||
Layout.preferredWidth: contentLabel.width
|
Layout.preferredWidth: contentLabel.width
|
||||||
|
|
Loading…
Reference in New Issue
Block a user