From 91cd709b46883fbb5a33892bd54c1c606a491a03 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 29 Jun 2022 10:56:08 +0200 Subject: [PATCH 1/3] Properly set background for postprocessing plugin CURA-9402 --- plugins/PostProcessingPlugin/PostProcessingPlugin.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/PostProcessingPlugin.qml b/plugins/PostProcessingPlugin/PostProcessingPlugin.qml index c252f13c68..46d05511cf 100644 --- a/plugins/PostProcessingPlugin/PostProcessingPlugin.qml +++ b/plugins/PostProcessingPlugin/PostProcessingPlugin.qml @@ -19,7 +19,7 @@ UM.Dialog height: 500 * screenScaleFactor minimumWidth: 400 * screenScaleFactor minimumHeight: 250 * screenScaleFactor - + backgroundColor: UM.Theme.getColor("main_background") onVisibleChanged: { // Whenever the window is closed (either via the "Close" button or the X on the window frame), we want to update it in the stack. From 23353223810caec4f8ba33fd0566c38ad1de34a0 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 29 Jun 2022 10:57:11 +0200 Subject: [PATCH 2/3] Properly set background for AboutDialog CURA-9402 --- resources/qml/Dialogs/AboutDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/Dialogs/AboutDialog.qml b/resources/qml/Dialogs/AboutDialog.qml index 6687da572d..18d60ae1bc 100644 --- a/resources/qml/Dialogs/AboutDialog.qml +++ b/resources/qml/Dialogs/AboutDialog.qml @@ -19,6 +19,8 @@ UM.Dialog width: minimumWidth height: minimumHeight + backgroundColor: UM.Theme.getColor("main_background") + Rectangle { id: header From ca36b4f2ef0d812616baa6166775defe202a5bce Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 1 Jul 2022 14:22:27 +0200 Subject: [PATCH 3/3] Set proper background color for open project dialogs. part of CURA-9402 --- plugins/3MFReader/WorkspaceDialog.qml | 1 + resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml index d0250abfd8..d00e12e9ee 100644 --- a/plugins/3MFReader/WorkspaceDialog.qml +++ b/plugins/3MFReader/WorkspaceDialog.qml @@ -17,6 +17,7 @@ UM.Dialog minimumWidth: UM.Theme.getSize("popup_dialog").width minimumHeight: UM.Theme.getSize("popup_dialog").height width: minimumWidth + backgroundColor: UM.Theme.getColor("main_background") margin: UM.Theme.getSize("default_margin").width property int comboboxHeight: UM.Theme.getSize("default_margin").height diff --git a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml index 65d62a5fab..cac23d34c1 100644 --- a/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml +++ b/resources/qml/Dialogs/AskOpenAsProjectOrModelsDialog.qml @@ -17,6 +17,7 @@ UM.Dialog title: catalog.i18nc("@title:window", "Open project file") width: UM.Theme.getSize("small_popup_dialog").width height: UM.Theme.getSize("small_popup_dialog").height + backgroundColor: UM.Theme.getColor("main_background") maximumHeight: height maximumWidth: width