summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-18 06:39:05 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-18 06:39:05 (GMT)
commitc22504ae79b45268d603c2b2bc66bd2a59c331c7 (patch)
treedcb55fe13e4448c305934edc3ba90e772b2d3e7d /demos
parentdd9899ac1523d8ed38eb689d486c3cfb3ad5236a (diff)
downloadQt-c22504ae79b45268d603c2b2bc66bd2a59c331c7.zip
Qt-c22504ae79b45268d603c2b2bc66bd2a59c331c7.tar.gz
Qt-c22504ae79b45268d603c2b2bc66bd2a59c331c7.tar.bz2
Simplify (hopefully) anchors, and make them less reliant on signals
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/flickr/content/ImageDetails.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml
index b8091f2..ccc91cb 100644
--- a/demos/declarative/flickr/content/ImageDetails.qml
+++ b/demos/declarative/flickr/content/ImageDetails.qml
@@ -89,7 +89,6 @@ Flipable {
// Center image if it is smaller than the flickable area.
x: ImageContainer.width > width*scale ? (ImageContainer.width - width*scale) / 2 : 0
y: ImageContainer.height > height*scale ? (ImageContainer.height - height*scale) / 2 : 0
- anchors.centeredIn: parent
onStatusChanged : {
// Default scale shows the entire image.
if (status == 0 && width != 0) {