QML 1.1 Gradient strange
Unsolved
QML and Qt Quick
-
Hello,
I am trying to integrate a gradient in my application. But as you can see in the picture, the color gradient is not continuous. Everything looks fine on my desktop PC, but not on my embedded device. Any of you have any idea what that might be?The color gradient in the rectangle is defined as follows.
gradient: Gradient {
GradientStop { position: 0.0; color: "#1c1c1c" }
GradientStop { position: 1.0; color: "#545454"}
} -
@RubberJones
alternative:LinearGradient { anchors.fill: parent start: Qt.point(0, 0) end: Qt.point(parent.width, 0) gradient: Gradient { GradientStop { position: 0.0; color: "#1c1c1c" } GradientStop { position: 1.0; color: "#545454" } } }
-
@raven-worx
LinearGradient is not available with Qt Quick 1.1 after all