summaryrefslogtreecommitdiffstats
path: root/examples/declarative/xmldata/yahoonews.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-27 07:00:37 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-27 07:00:37 (GMT)
commited5d5f6f04cda1f7aa3ea66be5fefc0a85429794 (patch)
treeb8244c7f0cd8b50e18faf64508a32c94f274a698 /examples/declarative/xmldata/yahoonews.qml
parent411678df3e25304b105e5f3afc849b529baa0d6f (diff)
downloadQt-ed5d5f6f04cda1f7aa3ea66be5fefc0a85429794.zip
Qt-ed5d5f6f04cda1f7aa3ea66be5fefc0a85429794.tar.gz
Qt-ed5d5f6f04cda1f7aa3ea66be5fefc0a85429794.tar.bz2
Better gradient support for Rect.
Diffstat (limited to 'examples/declarative/xmldata/yahoonews.qml')
-rw-r--r--examples/declarative/xmldata/yahoonews.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/declarative/xmldata/yahoonews.qml b/examples/declarative/xmldata/yahoonews.qml
index a465cdd..206c85f 100644
--- a/examples/declarative/xmldata/yahoonews.qml
+++ b/examples/declarative/xmldata/yahoonews.qml
@@ -1,6 +1,8 @@
Rect {
- color: "black"
- gradientColor: "#AAAAAA"
+ gradient: Gradient {
+ GradientStop { position: 0; color: "black" }
+ GradientStop { position: 1.0; color: "#AAAAAA" }
+ }
width: 600
height: 600
resources: [