From db667443b839d4aa25af50b1d08c8197a5df4376 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Wed, 20 Feb 2019 13:43:40 -0500 Subject: [PATCH] Make checkbox colors consistent with radio buttons (and other UI elements) --- src/QmlControls/QGCCheckBox.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/QmlControls/QGCCheckBox.qml b/src/QmlControls/QGCCheckBox.qml index 20f5efe87..5e334c6be 100644 --- a/src/QmlControls/QGCCheckBox.qml +++ b/src/QmlControls/QGCCheckBox.qml @@ -36,14 +36,14 @@ CheckBox { implicitHeight: implicitWidth Rectangle { anchors.fill: parent - color: _qgcPal.window - border.color: _qgcPal.text + color: "white" + border.color: qgcPal.text border.width: 1 opacity: control.checkedState === Qt.PartiallyChecked ? 0.5 : 1 QGCColoredImage { source: "/qmlimages/checkbox-check.svg" - color: _qgcPal.text - opacity: control.checkedState === Qt.Checked ? control.enabled ? 1 : 0.5 : 0 + color: "black" + opacity: control.checkedState === Qt.Checked ? (control.enabled ? 1 : 0.5) : 0 mipmap: true fillMode: Image.PreserveAspectFit width: parent.width * 0.75 -- 2.22.0