Browse Source

Reduce width to 0 if the icon is neutral

Because with our default theme, the neutral icon is empty. This causes the alignment of the label next to it to appear off.

Contributes to issue CURA-8609.
Ghostkeeper 3 years ago
parent
commit
e7e513bb16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Preferences/Materials/MaterialsSyncDialog.qml

+ 1 - 1
resources/qml/Preferences/Materials/MaterialsSyncDialog.qml

@@ -198,7 +198,7 @@ Window
                             name: "idle"
                             when: typeof syncModel === "undefined" || syncModel.exportUploadStatus == "idle" || syncModel.exportUploadStatus == "uploading"
                             PropertyChanges { target: printerListHeader; text: catalog.i18nc("@title:header", "The following printers will receive the new material profiles:") }
-                            PropertyChanges { target: printerListHeaderIcon; status: UM.StatusIcon.Status.NEUTRAL }
+                            PropertyChanges { target: printerListHeaderIcon; status: UM.StatusIcon.Status.NEUTRAL; width: 0 }
                         },
                         State
                         {