Commit 3af86735 authored by Don Gagne's avatar Don Gagne

Rework tuning UI

parent 909e6dda
......@@ -80,30 +80,31 @@ QGCView {
font.weight: Font.DemiBold
}
Rectangle {
id: sliderRect
anchors.topMargin: _margins / 2
Column {
anchors.margins: _margins
anchors.left: parent.left
anchors.right: parent.right
anchors.top: panelLabel.bottom
height: sliderColumns.y + sliderColumns.height + _margins
color: palette.windowShade
spacing: _margins
Column {
id: sliderColumns
anchors.margins: _margins
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
spacing: _margins
Repeater {
id: sliderRepeater
model: sliderModel
Repeater {
id: sliderRepeater
model: sliderModel
Rectangle {
id: sliderRect
anchors.left: parent.left
anchors.right: parent.right
height: sliderColumn.y + sliderColumn.height + _margins
color: palette.windowShade
Column {
anchors.left: parent.left
anchors.right: parent.right
id: sliderColumn
anchors.margins: _margins
anchors.left: parent.left
anchors.right: parent.right
anchors.top: sliderRect.top
property alias sliderValue: slider.value
......@@ -132,11 +133,11 @@ QGCView {
fact.value = value
}
}
}
} // Slider
} // Column
} // Repeater
} // Column
} // Rectangle
} // Rectangle
} // Repeater
} // Column
} // QGCFlickable
} // QGCViewPanel
} // QGCView
......@@ -282,6 +282,7 @@
1 50 MPC_MANTHR_MIN 0.080 9
1 50 MPC_THR_MAX 1 9
1 50 MPC_THR_MIN 0.1 9
1 50 MPC_THR_HOVER 0.5 9
1 50 MPC_TILTMAX_AIR 45 9
1 50 MPC_TILTMAX_LND 15 9
1 50 MPC_XY_FF 0.5 9
......
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