[Qt-qml] Left-to-right gradient

Cornelius Hald hald at icandy.de
Mon Aug 23 14:55:59 CEST 2010


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



More information about the Qt-qml mailing list