summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Smith <daniel.smith@qt.io>2020-05-07 08:53:06 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-18 14:45:04 +0200
commit55e2298f3ff0130fddb09ccd1bcfddce61a8abdb (patch)
tree39f169f666c4faf36ef3c1a45e0ea8111c2e99d1
parent340e1d21a5ad3976f9131641da9cbdc7b3fbacb4 (diff)
Doc: State correct default wrap mode in TextArea
Fixes: QTBUG-84048 Change-Id: I91ec44a5556f5906771642ca947f2e5bb1cd0721 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit c7e7fe1f56852863217e052224e80464c9c0fdb8) Reviewed-by: Daniel Smith <Daniel.Smith@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 402161c22..d289780e9 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