CheckBox: change opacity to 70% in disabled state

This commit is contained in:
xiphon 2021-02-04 11:47:00 +00:00
parent c1573c2c2a
commit 3c27c570d4

View file

@ -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) {