diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index 697a18c1177bbc86c9e0a18ab064def6443c0f7e..db2b793e170b9c43d25e5f9e5b8a991e3ca49319 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -407,7 +407,7 @@ QGCView { id: toolStrip anchors.leftMargin: ScreenTools.defaultFontPixelWidth anchors.left: _panel.left - anchors.topMargin: ScreenTools.toolbarHeight + _margins + anchors.topMargin: ScreenTools.toolbarHeight + (_margins * 2) anchors.top: _panel.top z: _panel.z + 4 title: qsTr("Fly") diff --git a/src/QmlControls/ToolStrip.qml b/src/QmlControls/ToolStrip.qml index 5f8746a9d263b6499063f479c64361bb6b27012f..4d7d9aeebd548193390277908f58a205f734adb0 100644 --- a/src/QmlControls/ToolStrip.qml +++ b/src/QmlControls/ToolStrip.qml @@ -19,6 +19,8 @@ Rectangle { width: ScreenTools.isMobile ? ScreenTools.minTouchPixels : ScreenTools.defaultFontPixelWidth * 6 height: buttonStripColumn.height + (buttonStripColumn.anchors.margins * 2) radius: _radius + border.width: 1 + border.color: qgcPal.globalTheme === QGCPalette.Light ? Qt.rgba(0,0,0,0.35) : Qt.rgba(1,1,1,0.35) property string title: "Title" property alias model: repeater.model