Commit 8c411f3b authored by Don Gagne's avatar Don Gagne

Size ListView to content height

This allows you to click/add waypoints under the list view
parent 5a90520b
......@@ -373,13 +373,17 @@ QGCView {
MouseArea {
// This MouseArea prevents the Map below it from getting Mouse events. Without this
// things like mousewheel will scroll the Flickable and then scroll the map as well.
anchors.fill: parent
anchors.fill: editorListView
preventStealing: true
onWheel: wheel.accepted = true
}
ListView {
anchors.fill: parent
id: editorListView
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
height: Math.min(contentHeight, parent.height)
spacing: _margin / 2
orientation: ListView.Vertical
model: controller.missionItems
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment