gui: fix chat block binding loop breaking rendering

The Item wrapper added in 1cfa424 set height: mainTextEdit.height while
the TextEdit used anchors.fill: parent, so the TextEdit height depended
on the Item height and vice versa. The resulting binding loop collapsed
the block layout into visual garbage. Size the TextEdit from
width: parent.width and let its content height drive the Item.
This commit is contained in:
Levi Neely 2026-10-08 17:33:41 +02:00
parent 86977b3ca3
commit 5170361e90
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ Column {
TextEdit {
id: mainTextEdit
anchors.fill: parent
width: parent.width
text: root.blockRenderedHtml
textFormat: Text.RichText
selectByMouse: true