native: add scroll bar

fixes #27
This commit is contained in:
Johannes Jöns 2024-07-12 01:06:31 +02:00
parent c6074c26e0
commit f4cfabea81

View file

@ -99,6 +99,7 @@ Rectangle {
Rectangle {
height: 50
id: rect1
width: parent.width
color: getColors().midlight
@ -116,6 +117,13 @@ Rectangle {
}
}
ScrollView {
anchors {
top: rect1.bottom
}
Layout.fillWidth: true
Layout.fillHeight: true
ListView {
id: listView
Layout.fillWidth: true
@ -141,6 +149,7 @@ Rectangle {
}
}
}
}
ListModel {
id: apiDataModel