summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-19 17:28:25 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-19 17:28:25 +0200
commit36271954aada008d4ea91df79ee4cc11b750274f (patch)
tree96ee11b3529aac891d4e9356137d52cde7697ece /components
parentd7f4560d6143f93121ed9950531df3bb4010aa45 (diff)
downloadkube-36271954aada008d4ea91df79ee4cc11b750274f.tar.gz
kube-36271954aada008d4ea91df79ee4cc11b750274f.zip
A texteditor that does scrolling
Something is not quite right with the sizes, but at least it works otherwise.
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/ComposerView.qml8
1 files changed, 2 insertions, 6 deletions
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 {
297 } 297 }
298 } 298 }
299 299
300 Kube.TextArea { 300 Kube.TextEditor {
301 id: content
302 Layout.fillWidth: true 301 Layout.fillWidth: true
303 Layout.fillHeight: true 302 Layout.fillHeight: true
304 303 onActiveFocusChanged: closeFirstSplitIfNecessary()
305 selectByMouse: true
306
307 text: composerController.body 304 text: composerController.body
308 onTextChanged: composerController.body = text; 305 onTextChanged: composerController.body = text;
309 onActiveFocusChanged: closeFirstSplitIfNecessary()
310 } 306 }
311 } 307 }
312 } 308 }