Unverified Commit 89851280 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8144 from DonLakeFlyer/VisualTweaks

Visual tweaks
parents 72acf81e b1e79af1
......@@ -222,11 +222,11 @@ Rectangle {
border.color: qgcPal.text
RowLayout {
id: innerLayout
anchors.margins: _padding
anchors.left: parent.left
anchors.top: parent.top
spacing: _padding
id: innerLayout
anchors.margins: _padding
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
spacing: _padding
property real _padding: ScreenTools.comboBoxPadding
......
......@@ -30,7 +30,7 @@ Canvas {
property real _height: showGimbalYaw ? _gimbalYawWidth : (labelControl.visible ? labelControl.height : indicator.height)
property real _gimbalYawRadius: ScreenTools.defaultFontPixelHeight
property real _gimbalYawWidth: _gimbalYawRadius * 2
property real _smallRadius: (ScreenTools.defaultFontPixelHeight * ScreenTools.smallFontPointRatio) / 2
property real _smallRadius: ((ScreenTools.defaultFontPixelHeight * ScreenTools.smallFontPointRatio) / 2) + 1
property real _normalRadius: ScreenTools.defaultFontPixelHeight * 0.66
property real _indicatorRadius: small ? _smallRadius : _normalRadius
property real _gimbalRadians: degreesToRadians(vehicleYaw + gimbalYaw - 90)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment