diff options
Diffstat (limited to 'tests/auto/quick/qquickrectangle/data/gradient-border.qml')
-rw-r--r-- | tests/auto/quick/qquickrectangle/data/gradient-border.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickrectangle/data/gradient-border.qml b/tests/auto/quick/qquickrectangle/data/gradient-border.qml new file mode 100644 index 0000000000..1d45fb2799 --- /dev/null +++ b/tests/auto/quick/qquickrectangle/data/gradient-border.qml @@ -0,0 +1,21 @@ +import QtQuick 2.0 + +Item { + Rectangle { + width: 100 + height: 100 + border.width: 10 + radius: 10 + + gradient: Gradient { + GradientStop { + position: 0.00 + color: '#ffffff' + } + GradientStop { + position: 0.94 + color: '#000000' + } + } + } +} |