mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:09:02 +08:00
Set right text color if menubutton is disbled
CURA-6848
This commit is contained in:
parent
8f2caf362d
commit
c6850b4f73
@ -49,6 +49,6 @@ Button
|
|||||||
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
|
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: button.enabled ? UM.Theme.getColor("text") :UM.Theme.getColor("text_inactive")
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user