Fix ContextMenu and DockedPanel overlap
This commit is contained in:
parent
bc3c43874d
commit
3e4e8399d3
1 changed files with 5 additions and 7 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue