making header of list above the list as it flows upward
This commit is contained in:
parent
e60fcb8f56
commit
64e3978853
1 changed files with 32 additions and 25 deletions
|
@ -110,9 +110,15 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
header: Component {
|
header: Component {
|
||||||
Kirigami.ActionToolBar {
|
Rectangle {
|
||||||
|
id: songLibraryHeader
|
||||||
|
z: 2
|
||||||
height: 40
|
height: 40
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
Kirigami.ActionToolBar {
|
||||||
|
height: parent.height
|
||||||
|
width: parent.width
|
||||||
display: Controls.Button.IconOnly
|
display: Controls.Button.IconOnly
|
||||||
visible: selectedLibrary == "songs"
|
visible: selectedLibrary == "songs"
|
||||||
actions: [
|
actions: [
|
||||||
|
@ -145,6 +151,7 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
headerPositioning: ListView.OverlayHeader
|
headerPositioning: ListView.OverlayHeader
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue