summaryrefslogtreecommitdiffstats
path: root/demos/declarative/twitter
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-09 05:58:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-09 05:58:35 (GMT)
commit4a40a67827c8f259876e906a5a9afd2159ca9028 (patch)
tree06f82400d11677979a425d6392dd3241769737dd /demos/declarative/twitter
parent475abec27948923ae6de74db53b137f19c661601 (diff)
downloadQt-4a40a67827c8f259876e906a5a9afd2159ca9028.zip
Qt-4a40a67827c8f259876e906a5a9afd2159ca9028.tar.gz
Qt-4a40a67827c8f259876e906a5a9afd2159ca9028.tar.bz2
Enable other wrapping modes.
WrapAnywhere - Text can be wrapped at any point on a line, even if it occurs in the middle of a word. WrapAtWordBoundaryOrAnywhere - 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.
Diffstat (limited to 'demos/declarative/twitter')
-rw-r--r--demos/declarative/twitter/TwitterCore/HomeTitleBar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml b/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
index 992c7e2..c1ae3e5 100644
--- a/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
+++ b/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
@@ -88,7 +88,7 @@ Item {
width: parent.width - 12
height: parent.height - 8
font.pointSize: 10
- wrapMode: TextEdit.WordWrap
+ wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
color: "#151515"; selectionColor: "green"
}
Keys.forwardTo: [(returnKey), (editor)]