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:
parent
86977b3ca3
commit
5170361e90
|
|
@ -199,7 +199,7 @@ Column {
|
|||
|
||||
TextEdit {
|
||||
id: mainTextEdit
|
||||
anchors.fill: parent
|
||||
width: parent.width
|
||||
text: root.blockRenderedHtml
|
||||
textFormat: Text.RichText
|
||||
selectByMouse: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue