mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-03 08:07:25 -04:00
CheckBox: change opacity to 70% in disabled state
This commit is contained in:
@@ -49,8 +49,10 @@ Item {
|
|||||||
property alias fontColor: label.color
|
property alias fontColor: label.color
|
||||||
property bool iconOnTheLeft: true
|
property bool iconOnTheLeft: true
|
||||||
signal clicked()
|
signal clicked()
|
||||||
|
|
||||||
height: 25
|
height: 25
|
||||||
width: checkBoxLayout.width
|
width: checkBoxLayout.width
|
||||||
|
opacity: enabled ? 1 : 0.7
|
||||||
|
|
||||||
function toggle(){
|
function toggle(){
|
||||||
if (checkBox.toggleOnClick) {
|
if (checkBox.toggleOnClick) {
|
||||||
|
|||||||
Reference in New Issue
Block a user