mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 04:25:56 +08:00
Give text colours to text
This way it's still visible in the dark theme, rather than black on black. Contributes to issue CURA-8561.
This commit is contained in:
parent
4119cf4209
commit
f498952830
@ -88,6 +88,7 @@ Rectangle
|
||||
|
||||
text: packageData.packageVersion
|
||||
font: UM.Theme.getFont("small")
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
@ -116,6 +117,7 @@ Rectangle
|
||||
|
||||
text: packageData.description
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
maximumLineCount: 2
|
||||
wrapMode: Text.Wrap
|
||||
elide: Text.ElideRight
|
||||
@ -164,6 +166,7 @@ Rectangle
|
||||
|
||||
text: "… "
|
||||
font: descriptionLabel.font
|
||||
color: descriptionLabel.color
|
||||
visible: descriptionLabel.truncated
|
||||
}
|
||||
}
|
||||
@ -181,6 +184,7 @@ Rectangle
|
||||
|
||||
text: catalog.i18nc("@label", "By")
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
Cura.TertiaryButton
|
||||
|
Loading…
x
Reference in New Issue
Block a user