Solve undefined parent width when a new bubble is created

This commit is contained in:
Angela Mazzurco 2017-07-19 16:21:08 +02:00
parent 6f81662428
commit 55b0790285

View File

@ -9,7 +9,7 @@ Item
id: chatBubbleDelegate id: chatBubbleDelegate
height: bubble.height height: bubble.height
width: parent.width width: mainWindow.width - (styles.aditionalBubbleWidth - 10)
property var styles: StyleChat.bubble property var styles: StyleChat.bubble