From afd3dd6eec08fb15fe0be1dcd7a828a3e247365a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 21 Oct 2016 13:06:49 +0200 Subject: [PATCH] Make separate theme colour for detail text I would use the normal font colour with a lower alpha value here, but it seems that rendering text with transparency doesn't work in Qt. Contributes to issue CURA-2737. --- resources/qml/SidebarHeader.qml | 2 +- resources/themes/cura/theme.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/SidebarHeader.qml b/resources/qml/SidebarHeader.qml index b8ae3933a4..16c6a6a8ce 100644 --- a/resources/qml/SidebarHeader.qml +++ b/resources/qml/SidebarHeader.qml @@ -288,7 +288,7 @@ Column text: { var result = Cura.MachineManager.activeQualityName; if (Cura.MachineManager.activeQualityLayerHeight > 0) { - result += " "; + result += " "; result += " - "; result += Cura.MachineManager.activeQualityLayerHeight + "mm"; result += ""; diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json index f90467c9e8..a29aefa143 100644 --- a/resources/themes/cura/theme.json +++ b/resources/themes/cura/theme.json @@ -52,6 +52,7 @@ "secondary": [245, 245, 245, 255], "text": [24, 41, 77, 255], + "text_detail": [174, 174, 174, 128], "text_link": [12, 169, 227, 255], "text_inactive": [174, 174, 174, 255], "text_hover": [70, 84, 113, 255],