diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-05 15:22:39 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-05 15:22:39 +0100 |
commit | e491f64146fda4f7d91259202fffffa59348a8a1 (patch) | |
tree | 1a5500e65695da87e35f2899da8c34982e5c029d /framework | |
parent | 576d38bd35adc8b03eef5634efcf0a1649ceaf57 (diff) | |
download | kube-e491f64146fda4f7d91259202fffffa59348a8a1.tar.gz kube-e491f64146fda4f7d91259202fffffa59348a8a1.zip |
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.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/TextEditor.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
97 | id: edit | 97 | id: edit |
98 | 98 | ||
99 | width: flickableItem.width | 99 | width: flickableItem.width |
100 | height: flickableItem.height | 100 | height: contentHeight |
101 | 101 | ||
102 | focus: true | 102 | focus: true |
103 | selectByMouse: true | 103 | selectByMouse: true |