Browse Source

Making scroll area full width.

QGC4.4
dogmaphobic 9 years ago
parent
commit
da3005f79e
  1. 8
      src/AutoPilotPlugins/PX4/SafetyComponent.qml

8
src/AutoPilotPlugins/PX4/SafetyComponent.qml

@ -60,16 +60,13 @@ QGCView {
anchors.fill: parent anchors.fill: parent
QGCFlickable { QGCFlickable {
clip: true clip: true
anchors.top: parent.top anchors.fill: parent
anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
width: mainCol.width
contentHeight: mainCol.height contentHeight: mainCol.height
contentWidth: mainCol.width
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick
Column { Column {
id: mainCol id: mainCol
spacing: _margins spacing: _margins
anchors.horizontalCenter: parent.horizontalCenter
/* /*
**** Low Battery **** **** Low Battery ****
*/ */
@ -514,6 +511,7 @@ QGCView {
} }
} }
} }
Item { width: 1; height: _margins * 0.5; }
} }
} }
} }

Loading…
Cancel
Save