From bc45c43ab7cbd9ea53b2636e8751c55e6d3e22fd Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 17 Nov 2016 22:32:53 +0100 Subject: Contact List: cleanup the list view No clipping, current index, or x-coordinates needed. Change-Id: Ibfb4a8e1159072a84ee229607b28e7f4010eb925 Reviewed-by: J-P Nurmi --- examples/quickcontrols2/contactlist/MainForm.ui.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'examples/quickcontrols2') diff --git a/examples/quickcontrols2/contactlist/MainForm.ui.qml b/examples/quickcontrols2/contactlist/MainForm.ui.qml index 3be33c1f..fdc6dd91 100644 --- a/examples/quickcontrols2/contactlist/MainForm.ui.qml +++ b/examples/quickcontrols2/contactlist/MainForm.ui.qml @@ -67,14 +67,12 @@ Page { ListView { id: listView - currentIndex: -1 - boundsBehavior: Flickable.StopAtBounds - clip: true focus: true anchors.fill: parent section.criteria: ViewSection.FirstCharacter section.property: "fullName" snapMode: ListView.SnapToItem + boundsBehavior: Flickable.StopAtBounds section.delegate: SectionDelegate { width: listView.width @@ -83,7 +81,6 @@ Page { delegate: ContactDelegate { id: delegate width: listView.width - x: 5 Connections { target: delegate.edit -- cgit v1.2.3