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 real labelPreferredWidth: -1
11
12 spacing: ScreenTools.defaultFontPixelWidth * 2
13
14 QGCLabel {
15 id: _labelLabel
16 Layout.fillWidth: true
17 Layout.minimumWidth: implicitWidth
18 }
19
20 QGCLabel {
21 id: _label
22 Layout.preferredWidth: labelPreferredWidth
23 }
24}