Skip to content
Snippets Groups Projects
Commit 0cec1673 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix infinite item instantiating loop by using height instead of contentHeight

parent 2bfb885b
No related branches found
No related tags found
No related merge requests found
......@@ -14,12 +14,11 @@ RowLayout {
anchors.left: parent.left
anchors.right: parent.right
implicitHeight: contentItem.height
height: Math.max(contentItem.height, 16)
Column {
Layout.fillWidth: true
Layout.alignment: Qt.AlignTop
id: contentItem
//property var replyTo: model.replyTo
......@@ -28,6 +27,8 @@ RowLayout {
// text: "" + (idx != -1 ? timelineManager.timeline.data(timelineManager.timeline.index(idx, 0), 2) : "nothing")
//}
MessageDelegate {
id: contentItem
width: parent.width
height: childrenRect.height
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment