H"
> Cc: "interest@qt-project.org"
> Subject: Re: [Interest] Animating a gradient
>
> Ok, that’s explain also because onPositionChanged does not work.
> The property has no signal notify changes. So, it means you cannot do what
> you want.
>
> So, my workar
pends on non-NOTIFYable
> properties:
>QQuickGradientStop::position
>
> Does anyone know why these aren't NOTIFYable?
>
>
>> Sent: Tuesday, November 17, 2015 at 4:16 PM
>> From: Gianluca
>> To: "Jason H"
>> Cc: "interest@qt-projec
nluca
> To: "Jason H"
> Cc: "interest@qt-project.org"
> Subject: Re: [Interest] Animating a gradient
>
> Hello Jason,
> why you don’t simple use property binding ?
>
> GradientStop { id: gs2; position: gs1.position+0.1; color: "dodgerblue" }
&
Hello Jason,
why you don’t simple use property binding ?
GradientStop { id: gs2; position: gs1.position+0.1; color: "dodgerblue" }
and remove completely onPositionChanged
Ciao,
Gianluca.
Il giorno 17/nov/2015, alle ore 20:39, Jason H ha scritto:
> I want to animate a gradient, but onPosition
I want to animate a gradient, but onPositionChanged gives an error, even though
I can animate it. What am I doing wrong?
Item {
property alias color: container.color
Component.onCompleted: anim.start()
Rectangle {
id: container
width: paren