From 36271954aada008d4ea91df79ee4cc11b750274f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 19 Jun 2017 17:28:25 +0200 Subject: A texteditor that does scrolling Something is not quite right with the sizes, but at least it works otherwise. --- components/kube/contents/ui/ComposerView.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index b8da8a83..7bc3b061 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml @@ -297,16 +297,12 @@ Kube.View { } } - Kube.TextArea { - id: content + Kube.TextEditor { Layout.fillWidth: true Layout.fillHeight: true - - selectByMouse: true - + onActiveFocusChanged: closeFirstSplitIfNecessary() text: composerController.body onTextChanged: composerController.body = text; - onActiveFocusChanged: closeFirstSplitIfNecessary() } } } -- cgit v1.2.3