QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
LabelledLabel.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Layouts
3
4import QGroundControl
5import QGroundControl.Controls
6
7RowLayout {
8 property alias label: _labelLabel.text
9 property alias labelText: _label.text
10 property alias labelTextFormat: _label.textFormat
11 property real labelPreferredWidth: -1
12
13 spacing: ScreenTools.defaultFontPixelWidth * 2
14
15 QGCLabel {
16 id: _labelLabel
17 Layout.fillWidth: true
18 Layout.minimumWidth: implicitWidth
19 }
20
21 QGCLabel {
22 id: _label
23 Layout.preferredWidth: labelPreferredWidth
24 }
25}