Change bubbles spacing from parent

This commit is contained in:
Angela Mazzurco 2017-06-09 18:01:31 +02:00
parent 80b4c839bb
commit 2809a9638a

View File

@ -64,12 +64,12 @@ Item
ListView ListView
{ {
id: chatListView id: chatListView
width: parent.width - 7 width: parent.width - 20
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
height: 300 height: 300
model: chatModel.model model: chatModel.model
delegate: ChatBubbleDelegate {} delegate: ChatBubbleDelegate {}
spacing: 3 spacing: 10
preferredHighlightBegin: 1 preferredHighlightBegin: 1
} }
@ -124,8 +124,6 @@ Item
(attachButton.width + attachButton.anchors.margins) - (attachButton.width + attachButton.anchors.margins) -
(emojiButton.width + emojiButton.anchors.margins) (emojiButton.width + emojiButton.anchors.margins)
placeholderText: styles.placeHolder placeholderText: styles.placeHolder
background: styles.background background: styles.background