diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-04-24 18:40:25 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-04-24 18:40:25 +0200 |
commit | 1974c42f9372b09f7b9c6a85fec01e8dfab15092 (patch) | |
tree | 1becf55f28c83a3382fd476adb7f9e3459ff7fdf /components/package/contents/ui/FolderListView.qml | |
parent | b9590bf688a5792e38a834676fa7ce0dc6a57900 (diff) | |
download | kube-1974c42f9372b09f7b9c6a85fec01e8dfab15092.tar.gz kube-1974c42f9372b09f7b9c6a85fec01e8dfab15092.zip |
move search to the toolbar as discussed with VDG
Diffstat (limited to 'components/package/contents/ui/FolderListView.qml')
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index e41220f5..62960fb9 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -30,28 +30,9 @@ Item { | |||
30 | property variant currentFolder | 30 | property variant currentFolder |
31 | SystemPalette { id: colorPalette; colorGroup: SystemPalette.Active } | 31 | SystemPalette { id: colorPalette; colorGroup: SystemPalette.Active } |
32 | 32 | ||
33 | Item { | ||
34 | id: searchBox | ||
35 | |||
36 | width: root.width | ||
37 | height: Unit.size * 10 | ||
38 | |||
39 | TextField { | ||
40 | anchors. centerIn: parent | ||
41 | |||
42 | width: parent.width * 0.9 | ||
43 | |||
44 | placeholderText: "Search all email..." | ||
45 | } | ||
46 | } | ||
47 | |||
48 | Rectangle { | 33 | Rectangle { |
49 | anchors { | 34 | anchors.fill: parent |
50 | top: searchBox.bottom | 35 | |
51 | left: parent.left | ||
52 | right: parent.right | ||
53 | bottom: parent.bottom | ||
54 | } | ||
55 | color: "white" | 36 | color: "white" |
56 | ScrollView { | 37 | ScrollView { |
57 | anchors.fill: parent | 38 | anchors.fill: parent |