5import QGroundControl.Controls
8 property alias label: _labelLabel.text
9 property alias labelText: _label.text
10 property alias labelTextFormat: _label.textFormat
11 property alias labelTextElide: _label.elide
12 property real labelPreferredWidth: -1
13 /// Widest the text gets; with labelTextElide, longer text is elided to fit.
14 property real labelMaximumWidth: Number.POSITIVE_INFINITY
16 spacing: ScreenTools.defaultFontPixelWidth * 2
20 Layout.fillWidth: true
21 Layout.minimumWidth: implicitWidth
26 Layout.preferredWidth: labelPreferredWidth
27 Layout.maximumWidth: labelMaximumWidth