summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-06 02:02:25 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-10-06 02:02:25 (GMT)
commite220005f1c093520078f3642905b3ddba783a739 (patch)
treebd71ad045be0f6cc0fe1c985c5d52d1ce3cb75de
parenta943e0ae741115fbdd72b7ecfa7702f90ad0890b (diff)
downloadQt-e220005f1c093520078f3642905b3ddba783a739.zip
Qt-e220005f1c093520078f3642905b3ddba783a739.tar.gz
Qt-e220005f1c093520078f3642905b3ddba783a739.tar.bz2
Fix following API changes.
-rw-r--r--demos/declarative/contacts/Contact.qml4
-rw-r--r--examples/declarative/velocity/Day.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/contacts/Contact.qml b/demos/declarative/contacts/Contact.qml
index 91510c7..e12cd3b 100644
--- a/demos/declarative/contacts/Contact.qml
+++ b/demos/declarative/contacts/Contact.qml
@@ -82,8 +82,8 @@ Item {
}
Column {
id: layout
- width: contents.width
- height:contents.height
+ width: childrenRect.width
+ height: childrenRect.height
anchors.centerIn: parent
spacing: 5
ContactField {
diff --git a/examples/declarative/velocity/Day.qml b/examples/declarative/velocity/Day.qml
index 4001a3e..052f690 100644
--- a/examples/declarative/velocity/Day.qml
+++ b/examples/declarative/velocity/Day.qml
@@ -22,7 +22,7 @@ Rectangle {
font.bold: true
width: 370
text: day
- style: Outline
+ style: "Outline"
styleColor: "#dedede"
}
Repeater {