From cd286a006ebbf575083b5ff1e70500524a4a8cd5 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 29 Oct 2021 15:18:40 +0200 Subject: [PATCH] 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. --- .../qml/Preferences/Materials/MaterialsSyncDialog.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml index 1f9b5aa513..7c2bfbdbbb 100644 --- a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml +++ b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml @@ -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