From e491f64146fda4f7d91259202fffffa59348a8a1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 5 Feb 2018 15:22:39 +0100 Subject: The editor must be the size of the content. Otherwise we end up scrolling up the editor if the content is larger than the initial view. --- framework/qml/TextEditor.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index b40d677c..b009f7e5 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml @@ -97,7 +97,7 @@ FocusScope { id: edit width: flickableItem.width - height: flickableItem.height + height: contentHeight focus: true selectByMouse: true -- cgit v1.2.3