Commit 276fb1cf authored by Don Gagne's avatar Don Gagne

parent 67b72725
...@@ -890,16 +890,27 @@ Rectangle { ...@@ -890,16 +890,27 @@ Rectangle {
visible: QGroundControl.settingsManager.adsbVehicleManagerSettings.visible visible: QGroundControl.settingsManager.adsbVehicleManagerSettings.visible
} }
Rectangle { Rectangle {
Layout.preferredHeight: adsbGrid.height + (_margins * 2) Layout.preferredHeight: adsbGrid.y + adsbGrid.height + _margins
Layout.preferredWidth: adsbGrid.width + (_margins * 2) Layout.preferredWidth: adsbGrid.width + (_margins * 2)
color: qgcPal.windowShade color: qgcPal.windowShade
visible: adsbSectionLabel.visible visible: adsbSectionLabel.visible
Layout.fillWidth: true Layout.fillWidth: true
QGCLabel {
id: warningLabel
anchors.margins: _margins
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
font.pointSize: ScreenTools.smallFontPointSize
wrapMode: Text.WordWrap
text: qsTr("Note: These setting are not meant for use with an ADSB transponder which is situated on the vehicle.")
}
GridLayout { GridLayout {
id: adsbGrid id: adsbGrid
anchors.topMargin: _margins anchors.topMargin: _margins
anchors.top: parent.top anchors.top: warningLabel.bottom
Layout.fillWidth: true Layout.fillWidth: true
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
columns: 2 columns: 2
......
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