[Qt-qml] Left-to-right gradient

Diego Marcos diego.marcos at gmail.com
Mon Aug 23 15:04:40 CEST 2010


Hi,

Same question. In my case I ended up making an image with the horizontal gradient.

I would like to know if there's any plan to implement it.

Cheers,

Diego.

On Aug 23, 2010, at 2:55 PM, Cornelius Hald wrote:

> Hi,
> 
> is there a way to create a left-to-right gradient instead of a 
> top-to-bottom gradient? Of course it is possible to rotate the rectangle 
> that contains the gradient, but it´s rather confusing that height and 
> width are swapped and all the anchors are changing etc...
> 
> Maybe something like an 'orientation' property on the 'Gradient' item?
> 
> Thanks!
> Conny
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml





More information about the Qt-qml mailing list