diff --git a/src/QmlControls/FactSliderPanel.qml b/src/QmlControls/FactSliderPanel.qml index 6b6bfe1cce4306c76907a76ea1f8f36ad3e03f23..a1bde669ceaf1ddbb08ac22c772f953d84954726 100644 --- a/src/QmlControls/FactSliderPanel.qml +++ b/src/QmlControls/FactSliderPanel.qml @@ -71,7 +71,7 @@ QGCView { QGCFlickable { clip: true anchors.fill: parent - contentHeight: sliderRect.y + sliderRect.height + contentHeight: sliderOuterColumn.y + sliderOuterColumn.height flickableDirection: Flickable.VerticalFlick QGCLabel { @@ -82,6 +82,7 @@ QGCView { Column { + id: sliderOuterColumn anchors.margins: _margins anchors.left: parent.left anchors.right: parent.right @@ -99,6 +100,8 @@ QGCView { height: sliderColumn.y + sliderColumn.height + _margins color: palette.windowShade + property alias sliderValue: slider.value + Column { id: sliderColumn anchors.margins: _margins @@ -106,15 +109,16 @@ QGCView { anchors.right: parent.right anchors.top: sliderRect.top - property alias sliderValue: slider.value - QGCLabel { text: title font.weight: Font.DemiBold } QGCLabel { - text: description + text: description + anchors.left: parent.left + anchors.right: parent.right + wrapMode: Text.WordWrap } Slider {