diff options
author | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2022-03-26 02:55:31 +0900 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-03-27 21:38:57 +0000 |
commit | 771b31c2355b9d3d6bc5673a0f076202985bdb4d (patch) | |
tree | 625575ea82ff82810d419979712635bda5d5df39 /src/quick/doc/snippets/qml/texteditor.qml | |
parent | 499828b855d125ac236917f6ed01d8f1e7d88505 (diff) | |
download | qtdeclarative-771b31c2355b9d3d6bc5673a0f076202985bdb4d.tar.gz |
Replace paintedWidth/Height with contentWidth/Height
They were renamed in 51b7425329e0fa221c319e8d75595c19f664aedb
Pick-to: 6.2 6.3
Task-number: QTBUG-15160
Change-Id: If30f69d47adf391d2d1c795caaf2bbe15f6bc32a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml/texteditor.qml')
-rw-r--r-- | src/quick/doc/snippets/qml/texteditor.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/doc/snippets/qml/texteditor.qml b/src/quick/doc/snippets/qml/texteditor.qml index ed8f074446..2b6c8ed0d3 100644 --- a/src/quick/doc/snippets/qml/texteditor.qml +++ b/src/quick/doc/snippets/qml/texteditor.qml @@ -54,8 +54,8 @@ Flickable { id: flick width: 300; height: 200; - contentWidth: edit.paintedWidth - contentHeight: edit.paintedHeight + contentWidth: edit.contentWidth + contentHeight: edit.contentHeight clip: true function ensureVisible(r) |