mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 16:27:01 -05:00
Set disabled button colors
This commit is contained in:
parent
e4e3411308
commit
0a3a8272b4
@ -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…
x
Reference in New Issue
Block a user