4import QGroundControl.Controls
8 width: Math.min(_defaultWidth, _maxWidth)
9 height: _outerRadius * 2
13 property real extraInset: 0
14 property real extraValuesWidth: _outerRadius
16 property real _defaultWidth: mainWindow.width * 0.2
17 property real _maxWidth: ScreenTools.defaultFontPixelHeight * 15
18 property real _innerRadius: (width - (_topBottomMargin * 3)) / 4
19 property real _outerRadius: _innerRadius + _topBottomMargin
20 property real _spacing: ScreenTools.defaultFontPixelHeight * 0.33
21 property real _topBottomMargin: (width * 0.05) / 2
23 DeadMouseArea { anchors.fill: parent }
25 QGCPalette { id: qgcPal }
29 anchors.leftMargin: control._topBottomMargin
30 anchors.left: parent.left
31 size: control._innerRadius * 2
32 vehicle: globals.activeVehicle
33 anchors.verticalCenter: parent.verticalCenter
38 anchors.leftMargin: control._spacing
39 anchors.left: attitude.right
40 size: control._innerRadius * 2
41 vehicle: globals.activeVehicle
42 anchors.verticalCenter: parent.verticalCenter