From da3005f79e2f1192df62d4e14517df58d925edc9 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Thu, 28 Apr 2016 07:44:29 -0400 Subject: [PATCH] Making scroll area full width. --- src/AutoPilotPlugins/PX4/SafetyComponent.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/SafetyComponent.qml b/src/AutoPilotPlugins/PX4/SafetyComponent.qml index 1a3e675b4..de8394b88 100644 --- a/src/AutoPilotPlugins/PX4/SafetyComponent.qml +++ b/src/AutoPilotPlugins/PX4/SafetyComponent.qml @@ -60,16 +60,13 @@ QGCView { anchors.fill: parent QGCFlickable { clip: true - anchors.top: parent.top - anchors.bottom: parent.bottom - anchors.horizontalCenter: parent.horizontalCenter - width: mainCol.width + anchors.fill: parent contentHeight: mainCol.height - contentWidth: mainCol.width flickableDirection: Flickable.VerticalFlick Column { id: mainCol spacing: _margins + anchors.horizontalCenter: parent.horizontalCenter /* **** Low Battery **** */ @@ -514,6 +511,7 @@ QGCView { } } } + Item { width: 1; height: _margins * 0.5; } } } } -- 2.22.0