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.
This commit is contained in:
Ghostkeeper 2016-10-21 13:06:49 +02:00
parent 16491d8d23
commit afd3dd6eec
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75
2 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,7 @@ Column
text: {
var result = Cura.MachineManager.activeQualityName;
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
result += " <font color=\"" + UM.Theme.getColor("text_inactive") + "\">";
result += " <font color=\"" + UM.Theme.getColor("text_detail") + "\">";
result += " - ";
result += Cura.MachineManager.activeQualityLayerHeight + "mm";
result += "</font>";

View File

@ -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],