diff --git a/doric-Qt/doric/resources/text.qml b/doric-Qt/doric/resources/text.qml index 2665292d..1b95d0e9 100644 --- a/doric-Qt/doric/resources/text.qml +++ b/doric-Qt/doric/resources/text.qml @@ -49,11 +49,19 @@ TextArea { onWidthChanged: { bg.implicitWidth = width console.log(tag, uuid + " onWidthChanged: " + this.width) + + let tempText = this.text + this.text = "" + this.text = tempText } onHeightChanged: { bg.implicitHeight = height console.log(tag, uuid + " onHeightChanged: " + this.height) + + let tempText = this.text + this.text = "" + this.text = tempText } MouseArea {