Browse Source

Fix ToolStrip sizing/visability

QGC4.4
DonLakeFlyer 8 years ago
parent
commit
2557c1609d
  1. 2
      src/FlightDisplay/FlightDisplayView.qml
  2. 3
      src/QmlControls/ToolStrip.qml

2
src/FlightDisplay/FlightDisplayView.qml

@ -342,7 +342,7 @@ QGCView { @@ -342,7 +342,7 @@ QGCView {
}
ToolStrip {
visible: _activeVehicle ? _activeVehicle.guidedModeSupported : false
visible: _activeVehicle ? _activeVehicle.guidedModeSupported : true
id: toolStrip
anchors.leftMargin: ScreenTools.defaultFontPixelWidth
anchors.left: _panel.left

3
src/QmlControls/ToolStrip.qml

@ -42,10 +42,7 @@ Rectangle { @@ -42,10 +42,7 @@ Rectangle {
property bool _needRecalc: false
Component.onCompleted: recalcShowOptionalElements()
onMaxHeightChanged: recalcShowOptionalElements()
onModelChanged: recalcShowOptionalElements()
onButtonVisibleChanged: recalcShowOptionalElements()
Connections {
target: ScreenTools

Loading…
Cancel
Save