From 6e716eefcd3aa2f6d4f8775e5045e89da232a7a3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 24 Oct 2016 17:33:02 +0200 Subject: [PATCH] fix(Animations/CaterpillarAnimation): use file style to set `spacing` attribute --- tests/ui/modules/Common/Animations/CaterpillarAnimation.qml | 2 +- .../Common/Styles/Animations/CaterpillarAnimationStyle.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ui/modules/Common/Animations/CaterpillarAnimation.qml b/tests/ui/modules/Common/Animations/CaterpillarAnimation.qml index 6d2e55110..8a63e85b8 100644 --- a/tests/ui/modules/Common/Animations/CaterpillarAnimation.qml +++ b/tests/ui/modules/Common/Animations/CaterpillarAnimation.qml @@ -13,7 +13,7 @@ Row { property int sphereSize: CaterpillarAnimationStyle.sphere.size property int animationSpace: CaterpillarAnimationStyle.animation.space - spacing: 6 + spacing: CaterpillarAnimationStyle.spacing Repeater { id: repeater diff --git a/tests/ui/modules/Common/Styles/Animations/CaterpillarAnimationStyle.qml b/tests/ui/modules/Common/Styles/Animations/CaterpillarAnimationStyle.qml index 25936b736..afa2d9d70 100644 --- a/tests/ui/modules/Common/Styles/Animations/CaterpillarAnimationStyle.qml +++ b/tests/ui/modules/Common/Styles/Animations/CaterpillarAnimationStyle.qml @@ -7,6 +7,7 @@ import Common 1.0 QtObject { property int nSpheres: 3 + property int spacing: 6 property QtObject animation: QtObject { property int duration: 200