Browse Source

Update CustomOnOffSwitch.qml

fix to even out the toggle buttons
QGC4.4
Yasen 6 years ago
parent
commit
782bc008be
  1. 2
      custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml

2
custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml

@ -45,7 +45,7 @@ Rectangle { @@ -45,7 +45,7 @@ Rectangle {
}
Rectangle {
width: parent.width * 0.5
height: parent.height * 0.95
height: parent.height
color: checked ? qgcPal.buttonHighlight : qgcPal.button
border.color: qgcPal.text
border.width: 0

Loading…
Cancel
Save