aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-12-13 13:56:42 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-16 02:48:00 +0100
commit070bddc9a07e63550be35a06d6efb1ece245dc52 (patch)
treee6471dcffd65efbca950ad2c949a6e1f3757d61a /doc
parente7fb84adb5d5d9cc5c61db3bbd025f206854bcb4 (diff)
Make PlainText the default textFormat of a TextEdit.
With AutoText as the default it's easy to assume that a TextEdit accepts plain text or rich text only which can lead to unexpected behaviour when user supplied text is does not have the expected formatting and implicitly changes the text format. Task-number: QTBUG-23109 Change-Id: I08900fb23545672fd0e181058633bafeb826a746 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/whatsnew.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc
index 622566ca3c..2ae46714b6 100644
--- a/doc/src/declarative/whatsnew.qdoc
+++ b/doc/src/declarative/whatsnew.qdoc
@@ -124,6 +124,9 @@ Text improvements:
- a \c doLayout method was added to trigger the layout from Javascript.
- now automatically switch to StyledText instead of RichText if textFormat is set to AutoText.
+TextEdit:
+ - the default value of the textFormat property is now PlainText instead of AutoText.
+
PathView now has a \c currentItem property
ListView and GridView: