Browse Source

Fix ToolStrip sizing/visability

QGC4.4
DonLakeFlyer 8 years ago
parent
commit
2557c1609d
  1. 2
      src/FlightDisplay/FlightDisplayView.qml
  2. 5
      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

5
src/QmlControls/ToolStrip.qml

@ -41,11 +41,8 @@ Rectangle { @@ -41,11 +41,8 @@ Rectangle {
property bool _showOptionalElements: true
property bool _needRecalc: false
Component.onCompleted: recalcShowOptionalElements()
Component.onCompleted: recalcShowOptionalElements()
onMaxHeightChanged: recalcShowOptionalElements()
onModelChanged: recalcShowOptionalElements()
onButtonVisibleChanged: recalcShowOptionalElements()
Connections {
target: ScreenTools

Loading…
Cancel
Save