5import QGroundControl.Controls
7/// Heading of a group on the Summary page: an outlined label followed by a rule across the rest of the width
9 property alias text: captionLabel.text
11 Layout.fillWidth: true
12 spacing: ScreenTools.defaultFontPixelWidth / 2
14 QGCPalette { id: qgcPal }
17 implicitWidth: captionLabel.implicitWidth + ScreenTools.defaultFontPixelWidth * 3
18 implicitHeight: captionLabel.implicitHeight + ScreenTools.defaultFontPixelHeight * 0.4
19 radius: ScreenTools.defaultBorderRadius
21 border.color: qgcPal.borderSubtle
25 anchors.centerIn: parent
26 color: qgcPal.textPrimary
31 Layout.fillWidth: true
33 color: qgcPal.borderSubtle