Change unread text max width

This commit is contained in:
Angela Mazzurco 2017-06-12 16:23:41 +02:00
parent 8b0b366f69
commit 912d26c47c

View File

@ -131,12 +131,14 @@ Item
height: parent.height /2 height: parent.height /2
Text Text
{ {
id: lastMessageSender id: lastMessageSender
font.italic: true font.italic: true
color: "royalblue" color: "royalblue"
text: (!lastMessageData.incoming && lastMessageData.msg)? "You: " : "" text: (!lastMessageData.incoming && lastMessageData.msg)? "You: " : ""
height: parent.height
} }
Text Text
@ -148,6 +150,7 @@ Item
elide: Text.ElideRight elide: Text.ElideRight
color: "darkslategrey" color: "darkslategrey"
width: chatInfoRow.width - 30 width: chatInfoRow.width - 30
height: parent.height
} }
Rectangle Rectangle