diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/rect')
-rw-r--r-- | tests/auto/declarative/qmlvisual/rect/GradientRect.qml | 4 | ||||
-rw-r--r-- | tests/auto/declarative/qmlvisual/rect/MyRect.qml | 4 | ||||
-rw-r--r-- | tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png | bin | 25197 -> 15272 bytes | |||
-rw-r--r-- | tests/auto/declarative/qmlvisual/rect/rect-painting.qml | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/declarative/qmlvisual/rect/GradientRect.qml b/tests/auto/declarative/qmlvisual/rect/GradientRect.qml index dea5377..5ac7dcf 100644 --- a/tests/auto/declarative/qmlvisual/rect/GradientRect.qml +++ b/tests/auto/declarative/qmlvisual/rect/GradientRect.qml @@ -9,11 +9,11 @@ Item { property int borderWidth property bool smooth: false - width: 80; height: 80 + width: 40; height: 40 Item { anchors.centerIn: parent; rotation: rect.rotation; Rectangle { - anchors.centerIn: parent; width: 80; height: 80 + anchors.centerIn: parent; width: 40; height: 40 border.color: rect.border; border.width: rect.border != Qt.rgba(0,0,0,0) ? 2 : 0 radius: rect.radius; smooth: rect.smooth gradient: Gradient { diff --git a/tests/auto/declarative/qmlvisual/rect/MyRect.qml b/tests/auto/declarative/qmlvisual/rect/MyRect.qml index a595f7d..99226d3 100644 --- a/tests/auto/declarative/qmlvisual/rect/MyRect.qml +++ b/tests/auto/declarative/qmlvisual/rect/MyRect.qml @@ -9,11 +9,11 @@ Item { property int borderWidth property bool smooth: false - width: 80; height: 80 + width: 40; height: 40 Item { anchors.centerIn: parent; rotation: rect.rotation; Rectangle { - anchors.centerIn: parent; width: 80; height: 80 + anchors.centerIn: parent; width: 40; height: 40 color: rect.color; border.color: rect.border; border.width: rect.border != Qt.rgba(0,0,0,0) ? 2 : 0 radius: rect.radius; smooth: rect.smooth } diff --git a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png Binary files differindex 391e760..1dc9372 100644 --- a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png +++ b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png diff --git a/tests/auto/declarative/qmlvisual/rect/rect-painting.qml b/tests/auto/declarative/qmlvisual/rect/rect-painting.qml index 3c5d90c..2de414d 100644 --- a/tests/auto/declarative/qmlvisual/rect/rect-painting.qml +++ b/tests/auto/declarative/qmlvisual/rect/rect-painting.qml @@ -1,7 +1,7 @@ import QtQuick 1.0 Rectangle { - width: 900; height: 500 + width: 450; height: 250 color: "white" Rectangle { @@ -14,7 +14,7 @@ Rectangle { Grid { anchors.centerIn: parent - columns: 8; rows:4; spacing: 30 + columns: 8; rows:4; spacing: 15 MyRect { color: "lightsteelblue" } MyRect { color: "lightsteelblue"; border: "gray" } |