Commit d48bf56d authored by Gus Grubba's avatar Gus Grubba Committed by Lorenz Meier

Make QGCCheckbox gray if disabled

parent 29c19c08
......@@ -39,7 +39,7 @@ CheckBox {
implicitHeight: implicitWidth
Rectangle {
anchors.fill: parent
color: "white"
color: control.enabled ? "white" : "gray"
border.color: qgcPal.text
border.width: 1
opacity: control.checkedState === Qt.PartiallyChecked ? 0.5 : 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment