Mobile/filtering: make the search box an overlay

This way it stays at the top of the dive list.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-17 06:28:29 -04:00
parent 8f7633eff8
commit 65aa6bc43b

View file

@ -387,6 +387,7 @@ Kirigami.ScrollablePage {
currentIndex: -1 currentIndex: -1
delegate: diveDelegate delegate: diveDelegate
header: filterHeader header: filterHeader
headerPositioning: ListView.OverlayHeader
boundsBehavior: Flickable.DragOverBounds boundsBehavior: Flickable.DragOverBounds
maximumFlickVelocity: parent.height * 5 maximumFlickVelocity: parent.height * 5
bottomMargin: Kirigami.Units.iconSizes.medium + Kirigami.Units.gridUnit bottomMargin: Kirigami.Units.iconSizes.medium + Kirigami.Units.gridUnit