diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-03-05 01:18:53 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-03-05 01:18:53 (GMT) |
commit | 24a94c1b88fc72243c53e1bf51b87dc0d0be41b7 (patch) | |
tree | 01d20c577044a351950814a6fda873d489d78bf2 /examples/declarative/listview | |
parent | 38ff49e632da2bd61ac5fb59f57f62208c2687fd (diff) | |
download | Qt-24a94c1b88fc72243c53e1bf51b87dc0d0be41b7.zip Qt-24a94c1b88fc72243c53e1bf51b87dc0d0be41b7.tar.gz Qt-24a94c1b88fc72243c53e1bf51b87dc0d0be41b7.tar.bz2 |
declarative examples cleanup
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r-- | examples/declarative/listview/itemlist.qml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/declarative/listview/itemlist.qml b/examples/declarative/listview/itemlist.qml index 54981b7..41aa860 100644 --- a/examples/declarative/listview/itemlist.qml +++ b/examples/declarative/listview/itemlist.qml @@ -26,14 +26,12 @@ Rectangle { ListView { id: view - anchors.fill: parent - anchors.bottomMargin: 30 + anchors.fill: parent; anchors.bottomMargin: 30 model: itemModel - preferredHighlightBegin: 0 - preferredHighlightEnd: 0 + preferredHighlightBegin: 0; preferredHighlightEnd: 0 highlightRangeMode: "StrictlyEnforceRange" orientation: ListView.Horizontal - flickDeceleration: 2000 + snapMode: ListView.SnapOneItem; flickDeceleration: 2000 } Rectangle { |