From 0779dc2ad0a7e087de71eadf64423e9610d3cc0a Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 17 Nov 2016 22:08:19 +0100 Subject: Contact List: cosmetic cleanup Change-Id: I5782451235269cac8c4e6aaf319a30151cb599ef Reviewed-by: J-P Nurmi --- examples/quickcontrols2/contactlist/ContactDelegate.ui.qml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'examples/quickcontrols2/contactlist/ContactDelegate.ui.qml') diff --git a/examples/quickcontrols2/contactlist/ContactDelegate.ui.qml b/examples/quickcontrols2/contactlist/ContactDelegate.ui.qml index 8c8c4722..cab26e63 100644 --- a/examples/quickcontrols2/contactlist/ContactDelegate.ui.qml +++ b/examples/quickcontrols2/contactlist/ContactDelegate.ui.qml @@ -52,16 +52,16 @@ import QtQuick 2.7 import QtQuick.Controls 2.1 AbstractButton { - clip: true - checkable: true - autoExclusive: true - id: delegate - height: 50 property alias remove: remove property alias edit: edit + width: 300 + height: 50 + clip: true + checkable: true + autoExclusive: true Column { id: column1 @@ -157,10 +157,6 @@ AbstractButton { } states: [ - State { - name: "collapsed" - when: !delegate.checked - }, State { name: "expanded" when: delegate.checked -- cgit v1.2.3