Browse Source

Fix branding logo size

Handles branding logo visibility according to available space.
QGC4.4
Gus Grubba 6 years ago
parent
commit
90eb2d36a5
  1. 3
      src/ui/toolbar/MainToolBarIndicators.qml

3
src/ui/toolbar/MainToolBarIndicators.qml

@ -98,7 +98,8 @@ Item { @@ -98,7 +98,8 @@ Item {
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
visible: activeVehicle && !communicationLost
anchors.margins: ScreenTools.defaultFontPixelHeight * 0.66
visible: activeVehicle && !communicationLost && x > (indicatorRow.x + indicatorRow.width + ScreenTools.defaultFontPixelWidth)
fillMode: Image.PreserveAspectFit
source: _outdoorPalette ? _brandImageOutdoor : _brandImageIndoor
mipmap: true

Loading…
Cancel
Save