summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-09 05:18:08 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-09 05:18:08 (GMT)
commit95ad31adca64f639712fa378d25aa3e552b3dc72 (patch)
treed03e2ed9999a17572be62f54fc4173608221eb9e /demos
parent60e0a0b0fb6a2cf7b9fffd4ff2d30838ffa4ac84 (diff)
downloadQt-95ad31adca64f639712fa378d25aa3e552b3dc72.zip
Qt-95ad31adca64f639712fa378d25aa3e552b3dc72.tar.gz
Qt-95ad31adca64f639712fa378d25aa3e552b3dc72.tar.bz2
TextEdit::wrap changed to TextEdit::wrapMode enumeration
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/twitter/TwitterCore/HomeTitleBar.qml2
-rw-r--r--demos/declarative/twitter/twitter.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml b/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
index 0835315..55b7e62 100644
--- a/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
+++ b/demos/declarative/twitter/TwitterCore/HomeTitleBar.qml
@@ -90,7 +90,7 @@ Item {
width: parent.width - 12
height: parent.height - 8
font.pointSize: 10
- wrap: true
+ wrapMode: TextEdit.WordWrap
color: "#151515"; selectionColor: "green"
}
Keys.forwardTo: [(returnKey), (editor)]
diff --git a/demos/declarative/twitter/twitter.qml b/demos/declarative/twitter/twitter.qml
index 84926cd..583bf7f 100644
--- a/demos/declarative/twitter/twitter.qml
+++ b/demos/declarative/twitter/twitter.qml
@@ -35,7 +35,7 @@ Item {
Text {
width: 180
text: "Could not access twitter using this screen name and password pair.";
- color: "#cccccc"; style: Text.Raised; styleColor: "black"; wrap: true
+ color: "#cccccc"; style: Text.Raised; styleColor: "black"; wrapMode: Text.WordWrap
visible: rssModel.status==XmlListModel.Error; anchors.centerIn: parent
}