fix: fix name and chat text in middle bar to have an ellipsis

This commit is contained in:
Jonathan Rainville 2020-05-19 13:58:29 -04:00 committed by Iuri Matias
parent 33011385af
commit 3916fb739b

View File

@ -157,7 +157,10 @@ SplitView {
Text {
id: contactInfo
text: "Name:" + name
text: name
anchors.right: contactTime.left
anchors.rightMargin: Theme.smallPadding
elide: Text.ElideRight
font.weight: Font.Medium
font.pixelSize: 15
anchors.left: contactImage.right
@ -169,6 +172,9 @@ SplitView {
Text {
id: lastChatMessage
text: "Chatting blah blah..."
anchors.right: contactNumberChatsCircle.left
anchors.rightMargin: Theme.smallPadding
elide: Text.ElideRight
anchors.bottom: parent.bottom
anchors.bottomMargin: Theme.smallPadding
font.pixelSize: 15