Fix ContextMenu and DockedPanel overlap

This commit is contained in:
Anton Thomasson 2021-03-28 21:05:14 +02:00
parent bc3c43874d
commit 3e4e8399d3

View file

@ -87,7 +87,10 @@ Page {
// To enable PullDownMenu, place our content in a SilicaFlickable // To enable PullDownMenu, place our content in a SilicaFlickable
SilicaFlickable { SilicaFlickable {
anchors.fill: parent anchors.top: parent.top
width: parent.width
anchors.bottom: fileDock.top
clip: true
// PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView // PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView
PullDownMenu { PullDownMenu {
@ -121,8 +124,8 @@ Page {
} }
SilicaListView { SilicaListView {
anchors.fill: parent
id: listView id: listView
anchors.fill: parent
model: IppDiscovery model: IppDiscovery
spacing: Theme.paddingSmall spacing: Theme.paddingSmall
@ -336,11 +339,6 @@ Page {
} }
} }
footer: Item {
id: footer
width: parent.width
height: fileDock.height
}
} }
} }
DockedPanel { DockedPanel {