diff options
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r-- | framework/qml/People.qml | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index 58aa340c..fc41ceaf 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -44,33 +44,36 @@ Item { | |||
44 | 44 | ||
45 | Item { | 45 | Item { |
46 | id: toolbar | 46 | id: toolbar |
47 | anchors { | ||
48 | top: parent.top | ||
49 | horizontalCenter: parent.horizontalCenter | ||
50 | } | ||
47 | 51 | ||
48 | height: searchBar.height + Kube.Units.smallSpacing | 52 | height: searchBar.height + Kube.Units.smallSpacing |
49 | width: parent.width | 53 | width: parent.width |
50 | 54 | ||
51 | Controls.ToolButton { | 55 | Kube.IconButton { |
56 | anchors { | ||
57 | top: parent.top | ||
58 | left: parent.left | ||
59 | leftMargin: Kube.Units.smallSpacing | ||
60 | } | ||
61 | visible: stack.depth > 1 | ||
52 | iconName: Kube.Icons.goBack | 62 | iconName: Kube.Icons.goBack |
53 | |||
54 | onClicked: stack.pop() | 63 | onClicked: stack.pop() |
55 | |||
56 | visible: stack. depth > 1 | ||
57 | } | 64 | } |
58 | |||
59 | Kube.TextField { | 65 | Kube.TextField { |
60 | id: searchBar | 66 | id: searchBar |
61 | |||
62 | anchors.horizontalCenter: parent.horizontalCenter | 67 | anchors.horizontalCenter: parent.horizontalCenter |
63 | width: parent.width * 0.5 | 68 | width: parent.width * 0.5 |
64 | |||
65 | placeholderText: "Search..." | 69 | placeholderText: "Search..." |
66 | } | 70 | } |
67 | 71 | Kube.IconButton { | |
68 | Controls.ToolButton { | ||
69 | anchors { | 72 | anchors { |
73 | top: parent.top | ||
70 | right: parent.right | 74 | right: parent.right |
71 | rightMargin: Kube.Units.smallSpacing | 75 | rightMargin: Kube.Units.smallSpacing |
72 | } | 76 | } |
73 | |||
74 | iconName: Kube.Icons.addNew | 77 | iconName: Kube.Icons.addNew |
75 | } | 78 | } |
76 | } | 79 | } |