diff --git a/custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml b/custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml index 32b42cd..60e21d8 100644 --- a/custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml +++ b/custom-example/res/Custom/Widgets/CustomOnOffSwitch.qml @@ -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