summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Smith <daniel.smith@qt.io>2020-05-07 08:53:06 +0200
committerDaniel Smith <Daniel.Smith@qt.io>2020-05-07 07:41:51 +0000
commitc7e7fe1f56852863217e052224e80464c9c0fdb8 (patch)
tree8a3d5638ae289cb06664a12585c2b74c96808d64
parentf6920a23a320df20276fc4a0c00e9b4c89ab79ad (diff)
downloadqtquickcontrols-c7e7fe1f56852863217e052224e80464c9c0fdb8.tar.gz
Doc: State correct default wrap mode in TextArea
Fixes: QTBUG-84048 Pick-to: 5.15 Change-Id: I91ec44a5556f5906771642ca947f2e5bb1cd0721 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/controls/TextArea.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index 402161c2..d289780e 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -365,8 +365,8 @@ ScrollView {
Set this property to wrap the text to the TextArea item's width.
\list
- \li TextEdit.NoWrap - no wrapping will be performed.
- \li TextEdit.WordWrap (default) - wrapping is done on word boundaries only.
+ \li TextEdit.NoWrap (default) - no wrapping will be performed.
+ \li TextEdit.WordWrap - wrapping is done on word boundaries only.
\li TextEdit.WrapAnywhere - wrapping is done at any point on a line, even if it occurs in the middle of a word.
\li TextEdit.Wrap - if possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word.
\endlist