diff options
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r-- | framework/qml/TextEditor.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index b009f7e5..b9d8763c 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml | |||
@@ -77,7 +77,7 @@ FocusScope { | |||
77 | } | 77 | } |
78 | 78 | ||
79 | contentWidth: edit.paintedWidth | 79 | contentWidth: edit.paintedWidth |
80 | contentHeight: edit.paintedHeight | 80 | contentHeight: edit.height |
81 | 81 | ||
82 | function ensureVisible(r) { | 82 | function ensureVisible(r) { |
83 | if (contentX >= r.x) { | 83 | if (contentX >= r.x) { |
@@ -97,7 +97,7 @@ FocusScope { | |||
97 | id: edit | 97 | id: edit |
98 | 98 | ||
99 | width: flickableItem.width | 99 | width: flickableItem.width |
100 | height: contentHeight | 100 | height: implicitHeight |
101 | 101 | ||
102 | focus: true | 102 | focus: true |
103 | selectByMouse: true | 103 | selectByMouse: true |