Browse Source

Added a subtle border to the Toolstrip

Added a bit more separation between the Toolstrip and the Toolbar
QGC4.4
Gus Grubba 8 years ago
parent
commit
23b3912302
  1. 2
      src/FlightDisplay/FlightDisplayView.qml
  2. 2
      src/QmlControls/ToolStrip.qml

2
src/FlightDisplay/FlightDisplayView.qml

@ -407,7 +407,7 @@ QGCView { @@ -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")

2
src/QmlControls/ToolStrip.qml

@ -19,6 +19,8 @@ Rectangle { @@ -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

Loading…
Cancel
Save