diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-19 17:58:29 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-19 17:58:29 +0200 |
commit | 56291d87f625c0d1777c79f2c31ab01cdbf44978 (patch) | |
tree | 4e64e9dd13fba49f80991b1679a480c30c509039 | |
parent | df5d10b0595f103a5ef45334173e3eaea56e78a3 (diff) | |
download | kube-56291d87f625c0d1777c79f2c31ab01cdbf44978.tar.gz kube-56291d87f625c0d1777c79f2c31ab01cdbf44978.zip |
Recipient removal
-rw-r--r-- | components/kube/contents/ui/AddresseeListEditor.qml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/components/kube/contents/ui/AddresseeListEditor.qml b/components/kube/contents/ui/AddresseeListEditor.qml index 46438ed0..77ec6437 100644 --- a/components/kube/contents/ui/AddresseeListEditor.qml +++ b/components/kube/contents/ui/AddresseeListEditor.qml | |||
@@ -47,29 +47,33 @@ Item { | |||
47 | right: parent.right | 47 | right: parent.right |
48 | } | 48 | } |
49 | height: contentHeight | 49 | height: contentHeight |
50 | 50 | spacing: Kube.Units.smallSpacing | |
51 | delegate: Rectangle { | 51 | delegate: Rectangle { |
52 | height: Kube.Units.gridUnit + Kube.Units.smallSpacing * 3 // 2 for padding, 1 for spacing to the next item | 52 | height: Kube.Units.gridUnit + Kube.Units.smallSpacing * 2 //smallSpacing for padding |
53 | width: parent.width | 53 | width: parent.width |
54 | color: Kube.Colors.buttonColor | 54 | color: Kube.Colors.buttonColor |
55 | |||
56 | Kube.Label { | 55 | Kube.Label { |
57 | anchors { | 56 | anchors { |
58 | top: parent.top | 57 | top: parent.top |
59 | left: parent.left | 58 | left: parent.left |
60 | right: parent.right | 59 | right: button.left |
61 | margins: Kube.Units.smallSpacing | 60 | margins: Kube.Units.smallSpacing |
62 | } | 61 | } |
63 | text: display | 62 | text: display |
64 | elide: Text.ElideRight | 63 | elide: Text.ElideRight |
65 | } | 64 | } |
66 | 65 | Kube.IconButton { | |
67 | Rectangle { | 66 | id: button |
68 | anchors.bottom: parent.bottom | 67 | anchors { |
69 | 68 | verticalCenter: parent.verticalCenter | |
70 | width: parent.width | 69 | right: parent.right |
71 | height: Kube.Units.smallSpacing | 70 | margins: Kube.Units.smallSpacing |
72 | color: Kube.Colors.backgroundColor | 71 | } |
72 | height: Kube.Units.gridUnit | ||
73 | width: height | ||
74 | onClicked: root.removed(display); | ||
75 | padding: 0 | ||
76 | iconName: Kube.Icons.remove | ||
73 | } | 77 | } |
74 | } | 78 | } |
75 | } | 79 | } |