mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 23:31:42 -07:00
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:
parent
16491d8d23
commit
afd3dd6eec
2 changed files with 2 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ Column
|
||||||
text: {
|
text: {
|
||||||
var result = Cura.MachineManager.activeQualityName;
|
var result = Cura.MachineManager.activeQualityName;
|
||||||
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
|
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
|
||||||
result += " <font color=\"" + UM.Theme.getColor("text_inactive") + "\">";
|
result += " <font color=\"" + UM.Theme.getColor("text_detail") + "\">";
|
||||||
result += " - ";
|
result += " - ";
|
||||||
result += Cura.MachineManager.activeQualityLayerHeight + "mm";
|
result += Cura.MachineManager.activeQualityLayerHeight + "mm";
|
||||||
result += "</font>";
|
result += "</font>";
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@
|
||||||
"secondary": [245, 245, 245, 255],
|
"secondary": [245, 245, 245, 255],
|
||||||
|
|
||||||
"text": [24, 41, 77, 255],
|
"text": [24, 41, 77, 255],
|
||||||
|
"text_detail": [174, 174, 174, 128],
|
||||||
"text_link": [12, 169, 227, 255],
|
"text_link": [12, 169, 227, 255],
|
||||||
"text_inactive": [174, 174, 174, 255],
|
"text_inactive": [174, 174, 174, 255],
|
||||||
"text_hover": [70, 84, 113, 255],
|
"text_hover": [70, 84, 113, 255],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue