From 3c27c570d45bbdd6ce72af79ccbafccb222bcefa Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 4 Feb 2021 11:47:00 +0000 Subject: [PATCH] CheckBox: change opacity to 70% in disabled state --- components/CheckBox.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/CheckBox.qml b/components/CheckBox.qml index 671807f0..1b475983 100644 --- a/components/CheckBox.qml +++ b/components/CheckBox.qml @@ -49,8 +49,10 @@ Item { property alias fontColor: label.color property bool iconOnTheLeft: true signal clicked() + height: 25 width: checkBoxLayout.width + opacity: enabled ? 1 : 0.7 function toggle(){ if (checkBox.toggleOnClick) {