4import QGroundControl.Controls
6/// Small colored pill label. Hidden when text is empty.
10 property string text: ""
11 property real fontPointSize: ScreenTools.smallFontPointSize
13 width: statusLabel.implicitWidth + ScreenTools.defaultFontPixelWidth
14 height: statusLabel.implicitHeight
16 visible: control.text.length > 0
21 anchors.centerIn: parent
23 color: QGroundControl.globalPalette.indicatorText
24 font.pointSize: control.fontPointSize