Просмотр исходного кода

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 лет назад
Родитель
Сommit
e7e513bb16
1 измененных файлов с 1 добавлено и 1 удалено
  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
                         {