From 774eadc7d105cdab99cca7a402e7d8dc63845dff Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Fri, 23 Sep 2016 10:40:49 +0200 Subject: [PATCH] Recolor toolbar icons While cleaning up the theme icons I discovered that the toolbar icons were incorrectly relying on the color specified in the icon. --- resources/themes/cura/styles.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index 354aa15165..8c419fb245 100644 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -188,12 +188,13 @@ QtObject { } label: Item { - Image { + UM.RecolorImage { anchors.centerIn: parent; opacity: !control.enabled ? 0.2 : 1.0 source: control.iconSource; width: Theme.getSize("button_icon").width; height: Theme.getSize("button_icon").height; + color: Theme.getColor("button_text") sourceSize: Theme.getSize("button_icon") }