summaryrefslogtreecommitdiff
path: root/tests/manual/Layout.qml
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2013-04-08 17:06:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-09 13:32:19 +0200
commit80968e5e6ca6ce95fefe25721768ce4471a97c7a (patch)
tree530dbc9b87809e773aa16d8b51a8f387ce36dd04 /tests/manual/Layout.qml
parent3233119f934381e7c03b80a935d9f05f58b1d0a9 (diff)
downloadqtquickcontrols-80968e5e6ca6ce95fefe25721768ce4471a97c7a.tar.gz
Change some "Layout.Expanding" members to fill{Width|Height}
Seems like these were forgotten back when the change was done. Change-Id: I73fed91ccdbeac96164513c51a7b9b3ee66efcfa Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'tests/manual/Layout.qml')
-rw-r--r--tests/manual/Layout.qml24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/manual/Layout.qml b/tests/manual/Layout.qml
index 2b4bd200..8f2ccedd 100644
--- a/tests/manual/Layout.qml
+++ b/tests/manual/Layout.qml
@@ -729,8 +729,8 @@ Item {
color: "green"
width: 20
height: 20
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
}
Rectangle {
color: "green"
@@ -740,8 +740,8 @@ Item {
Layout.column: 1
Layout.rowSpan: 2
Layout.columnSpan: 2
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
}
Rectangle {
color: "green"
@@ -749,16 +749,16 @@ Item {
height: 20
Layout.row: 0
Layout.column: 1
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
}
Rectangle {
color: "green"
width: 20
height: 20
Layout.rowSpan: 2
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
}
Repeater {
model: 10
@@ -766,8 +766,8 @@ Item {
color: Qt.rgba(1, 0, 0, 1 - (index/10.0))
width: 20
height: 20
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
Text { text: index }
}
}
@@ -776,8 +776,8 @@ Item {
width: 20
Layout.columnSpan:2
height: 20
- Layout.horizontalSizePolicy: Layout.Expanding
- Layout.verticalSizePolicy: Layout.Expanding
+ Layout.fillWidth: true
+ Layout.fillHeight: true
}
}
}