Browse Source

Add showTouchAreas support

QGC4.4
Don Gagne 2 years ago committed by Don Gagne
parent
commit
ed093aff6b
  1. 3
      src/QmlControls/QGCToolBarButton.qml

3
src/QmlControls/QGCToolBarButton.qml

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
import QtQuick 2.3
import QtQuick.Controls 2.4
import QGroundControl 1.0
import QGroundControl.Controls 1.0
import QGroundControl.Palette 1.0
import QGroundControl.ScreenTools 1.0
@ -33,6 +34,8 @@ Button { @@ -33,6 +34,8 @@ Button {
background: Rectangle {
anchors.fill: parent
color: button.checked ? qgcPal.buttonHighlight : Qt.rgba(0,0,0,0)
border.color: "red"
border.width: QGroundControl.corePlugin.showTouchAreas ? 3 : 0
}
contentItem: Row {

Loading…
Cancel
Save