aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/contactlist/ContactDelegate.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/contactlist/ContactDelegate.ui.qml')
-rw-r--r--examples/quickcontrols2/contactlist/ContactDelegate.ui.qml14
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