diff --git a/src/ui/preferences/GeneralSettings.qml b/src/ui/preferences/GeneralSettings.qml index c6e54ed92584164d5092eadf118ea58187a75b61..125a09be024e0575868e95f5054f382bd5db3754 100644 --- a/src/ui/preferences/GeneralSettings.qml +++ b/src/ui/preferences/GeneralSettings.qml @@ -890,16 +890,27 @@ Rectangle { visible: QGroundControl.settingsManager.adsbVehicleManagerSettings.visible } Rectangle { - Layout.preferredHeight: adsbGrid.height + (_margins * 2) + Layout.preferredHeight: adsbGrid.y + adsbGrid.height + _margins Layout.preferredWidth: adsbGrid.width + (_margins * 2) color: qgcPal.windowShade visible: adsbSectionLabel.visible 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 { id: adsbGrid anchors.topMargin: _margins - anchors.top: parent.top + anchors.top: warningLabel.bottom Layout.fillWidth: true anchors.horizontalCenter: parent.horizontalCenter columns: 2