Add missing colours, fixing dark theme

Don't just use white rectangles or black text. Use the theme where appropriate. And these rectangles are just outlines.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-29 15:18:40 +02:00
parent ce4117a3ee
commit cd286a006e
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -279,6 +279,7 @@ Window
delegate: Rectangle
{
id: delegateContainer
color: "transparent"
border.color: UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
width: printerListScrollView.width
@ -384,11 +385,13 @@ Window
visible: includeOfflinePrinterList.count - cloudPrinterList.count > 0
Rectangle
{
border.color: UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
anchors.fill: parent
anchors.topMargin: UM.Theme.getSize("default_margin").height
border.color: UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
color: "transparent"
RowLayout
{
anchors
@ -415,6 +418,7 @@ Window
+ "\n"
+ catalog.i18nc("@text", "Make sure all your printers are turned ON and connected to Digital Factory.")
font: UM.Theme.getFont("medium")
color: UM.Theme.getColor("text")
elide: Text.ElideRight
Layout.alignment: Qt.AlignVCenter