Putting SplitView
inside ScrollView
breaks its work: for some reason it stops responding to mouse events and therefore resizing its children by dragging the splitter becomes impossible.
import QtQuick 2.7
import QtQuick.Controls 2.15
ScrollView {
width: 800
SplitView {
anchors {
top: parent.top
right: parent.right
left: parent.left
}
orientation: Qt.Vertical
Repeater {
model: 3
Rectangle {
SplitView.fillWidth: true
SplitView.minimumHeight: 150
color: "lightsteelblue"
Text {
anchors.centerIn: parent
text: "Row " + index
}
}
}
}
}
Is this a bug or am I missing something?