import QtQuick 2.0 import QtQuick.Window 2.0 Window { width: 640 height: 480 visible: true title: "Text length " + text.length + " lines " + text.lineCount + " height " + text.height Timer { interval: 5000; running: true; repeat: true onTriggered: { console.log("appending; length now", text.length) text.append("1234567890123456789012345678901234567890"); flick.flick(0, 10) } } Component.onCompleted: { for(var loop=0;loop<20000;++loop) text.append("12345678901234567890123456789012345678901234567890"); flick.contentY = text.height } Flickable { id: flick anchors.fill: parent contentHeight: text.height TextEdit { id: text width: parent.width wrapMode: TextEdit.WrapAnywhere text: "TextArea\n...\n...\n...\n...\n...\n...\n" } } }