feat: set chat item height depending on the height of the text

This commit is contained in:
Jonathan Rainville 2020-05-20 15:25:53 -04:00 committed by Iuri Matias
parent e157b1bc6d
commit 6d34c8fa79
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ SplitView {
id: chatLogViewDelegate id: chatLogViewDelegate
Rectangle { Rectangle {
id: chatBox id: chatBox
height: 140 height: 60 + chatText.height
color: "#00000000" color: "#00000000"
border.color: "#00000000" border.color: "#00000000"
Layout.alignment: Qt.AlignLeft | Qt.AlignTop Layout.alignment: Qt.AlignLeft | Qt.AlignTop