summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/listview/listview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/listview/listview.qml')
-rw-r--r--doc/src/snippets/declarative/listview/listview.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/snippets/declarative/listview/listview.qml b/doc/src/snippets/declarative/listview/listview.qml
index 5b99bbd..3596af1 100644
--- a/doc/src/snippets/declarative/listview/listview.qml
+++ b/doc/src/snippets/declarative/listview/listview.qml
@@ -1,7 +1,7 @@
//! [3]
Rect {
- width: 480
- height: 40
+ width: 180
+ height: 200
color: "white"
// ContactModel model is defined in dummydata/ContactModel.qml
// The viewer automatically loads files in dummydata/* to assist
@@ -48,7 +48,6 @@ Rect {
delegate: Delegate
highlight: Highlight
focus: true
- orientation: 'Horizontal'
}
//! [2]
}