From beecd8388bc5f3f95c221027318642429f1902cb Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 28 Feb 2012 13:20:56 +1000 Subject: Update ImageElement examples Now more consistently formed. Required a UI redesign for border image, you now view one at a time, with a selector control. Change-Id: Idf64119b644c1a79779ea0a46412247d6d013cb1 Reviewed-by: Alan Alpert Reviewed-by: Yann Bodson --- examples/qtquick/imageelements/animatedsprite.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'examples/qtquick/imageelements/animatedsprite.qml') diff --git a/examples/qtquick/imageelements/animatedsprite.qml b/examples/qtquick/imageelements/animatedsprite.qml index 3a597bba71..337456f785 100644 --- a/examples/qtquick/imageelements/animatedsprite.qml +++ b/examples/qtquick/imageelements/animatedsprite.qml @@ -40,15 +40,17 @@ import QtQuick 2.0 Item { - width: 400 - height: 400 + width: 320 + height: 480 Rectangle { anchors.fill: parent color: "white" } AnimatedSprite { id: sprite - anchors.fill: parent + width: 170 + height: 170 + anchors.centerIn: parent source: "content/speaker.png" frameCount: 60 frameSync: true -- cgit v1.2.3