summaryrefslogtreecommitdiffstats
path: root/examples/animatedbackground/SlideDeckRotated.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animatedbackground/SlideDeckRotated.qml')
-rw-r--r--examples/animatedbackground/SlideDeckRotated.qml13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/animatedbackground/SlideDeckRotated.qml b/examples/animatedbackground/SlideDeckRotated.qml
index ef6cfee..1870982 100644
--- a/examples/animatedbackground/SlideDeckRotated.qml
+++ b/examples/animatedbackground/SlideDeckRotated.qml
@@ -44,14 +44,17 @@ import QtQuick 2.0
Item
{
- height: 640
- width: 360
+ id: root
+
+ height: 1280
+ width: 720
+
Item {
rotation: 90
SlideDeck {
- y: -360
- width: 640
- height: 360
+ y: - root.width
+ width: root.height
+ height: root.width
}
}
}