mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Let button inactive opacity be defined by theme colours
They have an alpha channel. Let's put it to use... Contributes to issue CURA-4148.
This commit is contained in:
parent
f88ffee638
commit
d50f498fef
1 changed files with 0 additions and 1 deletions
|
@ -291,7 +291,6 @@ QtObject {
|
||||||
|
|
||||||
UM.RecolorImage {
|
UM.RecolorImage {
|
||||||
id: tool_button_arrow
|
id: tool_button_arrow
|
||||||
opacity: !control.enabled ? 0.2 : 1.0
|
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
anchors.rightMargin: (Theme.getSize("button").width - Theme.getSize("button_icon").width) / 4
|
anchors.rightMargin: (Theme.getSize("button").width - Theme.getSize("button_icon").width) / 4
|
||||||
anchors.bottom: parent.bottom;
|
anchors.bottom: parent.bottom;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue