mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 06:14:25 -04:00
Set disabled button colors
This commit is contained in:
parent
e4e3411308
commit
0a3a8272b4
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,7 @@ Item
|
||||||
id: rectangleButton
|
id: rectangleButton
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: borderRadius
|
radius: borderRadius
|
||||||
color: button.enabled ? button.color : "grey"
|
color: button.enabled ? button.color : "lavender"
|
||||||
border.width: borderWidth
|
border.width: borderWidth
|
||||||
border.color: "black"
|
border.color: "black"
|
||||||
|
|
||||||
|
@ -62,6 +62,7 @@ Item
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
anchors.left: icon.right
|
anchors.left: icon.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
color: button.enabled ? "black" : "grey"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue