mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
CheckBox: change opacity to 70% in disabled state
This commit is contained in:
parent
c1573c2c2a
commit
3c27c570d4
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue