I'm having an issue with ListView; it's too long and part of it appears outside the window, but I can't attach a scrollbar. I tried many combinations.
The problem probably lies in the height
parameter, but if I remove it, ListView displays only the first entry.
Column{ anchors.fill: parent Row{ id: buttonsRow Button { text: "Open dump file" onClicked: fileDialog.visible = true } Button { text: "Copy raw data to clipboard" } } ListView{ id: listView anchors.top: buttonsRow.bottom height: contentHeight //clip: true flickableDirection: Flickable.VerticalFlick boundsBehavior: Flickable.StopAtBounds interactive: true model: ListModel{ id: listModel } delegate: MDelegate{} }}
How do I make it scrollable?