summaryrefslogtreecommitdiffstats
path: root/framework/qml/People.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r--framework/qml/People.qml13
1 files changed, 5 insertions, 8 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml
index 8ccd174d..1a2f15b2 100644
--- a/framework/qml/People.qml
+++ b/framework/qml/People.qml
@@ -26,7 +26,7 @@ import org.kde.kirigami 1.0 as Kirigami
26import org.kube.framework 1.0 as Kube 26import org.kube.framework 1.0 as Kube
27 27
28 28
29Popup { 29Kube.Popup {
30 id: popup 30 id: popup
31 31
32 property var currentContact 32 property var currentContact
@@ -38,15 +38,13 @@ Popup {
38 38
39 anchors.fill: parent 39 anchors.fill: parent
40 40
41 ToolBar { 41 Item {
42 id: toolbar 42 id: toolbar
43 43
44 height: searchBar.height + Kube.Units.smallSpacing
44 width: parent.width 45 width: parent.width
45 46
46 Controls.ToolButton { 47 Controls.ToolButton {
47
48 anchors.verticalCenter: parent.verticalCenter
49
50 iconName: Kube.Icons.goBack 48 iconName: Kube.Icons.goBack
51 49
52 onClicked: stack.pop() 50 onClicked: stack.pop()
@@ -56,7 +54,8 @@ Popup {
56 54
57 TextField { 55 TextField {
58 id: searchBar 56 id: searchBar
59 anchors.centerIn: parent 57
58 anchors.horizontalCenter: parent.horizontalCenter
60 59
61 placeholderText: "Search..." 60 placeholderText: "Search..."
62 61
@@ -64,11 +63,9 @@ Popup {
64 } 63 }
65 64
66 Controls.ToolButton { 65 Controls.ToolButton {
67
68 anchors { 66 anchors {
69 right: parent.right 67 right: parent.right
70 rightMargin: Kube.Units.smallSpacing 68 rightMargin: Kube.Units.smallSpacing
71 verticalCenter: parent.verticalCenter
72 } 69 }
73 70
74 iconName: Kube.Icons.addNew 71 iconName: Kube.Icons.addNew