aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2021-02-04 11:47:00 +0000
committerxiphon <xiphon@protonmail.com>2021-02-05 15:32:04 +0000
commit3c27c570d45bbdd6ce72af79ccbafccb222bcefa (patch)
tree6f94412794a78bad16752fa98d049fd85cb394d5 /components
parentc1573c2c2acb0025ef3cec19e56061aa582b0d32 (diff)
downloadmonzero-gui-3c27c570d45bbdd6ce72af79ccbafccb222bcefa.tar.gz
monzero-gui-3c27c570d45bbdd6ce72af79ccbafccb222bcefa.tar.xz
monzero-gui-3c27c570d45bbdd6ce72af79ccbafccb222bcefa.zip
CheckBox: change opacity to 70% in disabled state
Diffstat (limited to 'components')
-rw-r--r--components/CheckBox.qml2
1 files changed, 2 insertions, 0 deletions
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) {