summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r--examples/declarative/listview/highlight.qml2
-rw-r--r--examples/declarative/listview/itemlist.qml2
-rw-r--r--examples/declarative/listview/listview.qml2
-rw-r--r--examples/declarative/listview/recipes.qml4
-rw-r--r--examples/declarative/listview/sections.qml2
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/listview/highlight.qml b/examples/declarative/listview/highlight.qml
index 3506ad7..2bf3a9f 100644
--- a/examples/declarative/listview/highlight.qml
+++ b/examples/declarative/listview/highlight.qml
@@ -14,7 +14,7 @@ Rectangle {
Item {
id: Wrapper
width: 200; height: 50
- VerticalPositioner {
+ Column {
Text { text: 'Name: ' + name }
Text { text: 'Type: ' + type }
Text { text: 'Age: ' + age }
diff --git a/examples/declarative/listview/itemlist.qml b/examples/declarative/listview/itemlist.qml
index bf1184f..c25ee59 100644
--- a/examples/declarative/listview/itemlist.qml
+++ b/examples/declarative/listview/itemlist.qml
@@ -40,7 +40,7 @@ Rectangle {
height: 30
width: 240
- HorizontalPositioner {
+ Row {
anchors.centerIn: parent
spacing: 20
Repeater {
diff --git a/examples/declarative/listview/listview.qml b/examples/declarative/listview/listview.qml
index 1e2de65..0f197b4 100644
--- a/examples/declarative/listview/listview.qml
+++ b/examples/declarative/listview/listview.qml
@@ -14,7 +14,7 @@ Rectangle {
Item {
id: Wrapper
width: 200; height: 50
- VerticalPositioner {
+ Column {
Text { text: 'Name: ' + name }
Text { text: 'Type: ' + type }
Text { text: 'Age: ' + age }
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml
index b4ad4d5..eac8bb5 100644
--- a/examples/declarative/listview/recipes.qml
+++ b/examples/declarative/listview/recipes.qml
@@ -37,7 +37,7 @@ Rectangle {
// Layout the page. Picture, title and ingredients at the top, method at the
// bottom. Note that elements that should not be visible in the list
// mode have their opacity set to wrapper.detailsOpacity.
- HorizontalPositioner {
+ Row {
id: topLayout
x: 10; y: 10; height: recipePic.height; width: parent.width
spacing: 10
@@ -45,7 +45,7 @@ Rectangle {
id: recipePic
source: picture; width: 48; height: 48
}
- VerticalPositioner {
+ Column {
height: recipePic.height; width: background.width-recipePic.width-20
spacing: 5
Text { id: name; text: title; font.bold: true; font.pointSize: 16 }
diff --git a/examples/declarative/listview/sections.qml b/examples/declarative/listview/sections.qml
index 1b51a43..ddb4931 100644
--- a/examples/declarative/listview/sections.qml
+++ b/examples/declarative/listview/sections.qml
@@ -36,7 +36,7 @@ Rectangle {
x: 5
height: Layout.height + 4
anchors.top: Separator.bottom
- VerticalPositioner {
+ Column {
id: Layout
y: 2
Text { text: 'Name: ' + name }