CheckBox: add enabled property

This commit is contained in:
selsta
2020-04-24 04:29:44 +02:00
parent 585fb2810d
commit a810bf3eb7
2 changed files with 4 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ Item {
visible: checkBox.border
anchors.fill: parent
radius: 3
color: "transparent"
color: checkBox.enabled ? "transparent" : MoneroComponents.Style.inputBoxBackgroundDisabled
border.color:
if(checkBox.checked){
return MoneroComponents.Style.inputBorderColorActive;