Browse Source

Gimbal indicator background to reflect theme

QGC4.4
Yasen 6 years ago
parent
commit
b74f4bcd5b
  1. 2
      custom-example/res/CustomCameraControl.qml

2
custom-example/res/CustomCameraControl.qml

@ -402,7 +402,7 @@ Item {
width: _hasGimbal ? ScreenTools.defaultFontPixelWidth * 6 : 0 width: _hasGimbal ? ScreenTools.defaultFontPixelWidth * 6 : 0
height: _hasGimbal ? (gimbalCol.height + (ScreenTools.defaultFontPixelHeight * 2)) : 0 height: _hasGimbal ? (gimbalCol.height + (ScreenTools.defaultFontPixelHeight * 2)) : 0
visible: _hasGimbal visible: _hasGimbal
color: Qt.rgba(0,0,0,0.5) color: qgcPal.window
radius: ScreenTools.defaultFontPixelWidth * 0.5 radius: ScreenTools.defaultFontPixelWidth * 0.5
anchors.verticalCenter: cameraRect.verticalCenter anchors.verticalCenter: cameraRect.verticalCenter
Column { Column {

Loading…
Cancel
Save