diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-17 22:08:19 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-17 21:54:27 +0000 |
commit | 0779dc2ad0a7e087de71eadf64423e9610d3cc0a (patch) | |
tree | 39ab323d7a9e5fe227606812a1cab39536108f83 /examples/quickcontrols2/contactlist/ContactDelegate.ui.qml | |
parent | 4ef7af98e69bf676dd39e6aad5e6a5f980648e75 (diff) |
Contact List: cosmetic cleanup
Change-Id: I5782451235269cac8c4e6aaf319a30151cb599ef
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples/quickcontrols2/contactlist/ContactDelegate.ui.qml')
-rw-r--r-- | examples/quickcontrols2/contactlist/ContactDelegate.ui.qml | 14 |
1 files changed, 5 insertions, 9 deletions
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 @@ -158,10 +158,6 @@ AbstractButton { states: [ State { - name: "collapsed" - when: !delegate.checked - }, - State { name: "expanded" when: delegate.checked |