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

Add documentation about qml z fix

Co-Authored-By: nallath <nallath@gmail.com>
Ghostkeeper 6 лет назад
Родитель
Сommit
e3dd5f1c39
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      plugins/PrepareStage/PrepareMenu.qml

+ 2 - 2
plugins/PrepareStage/PrepareMenu.qml

@@ -52,7 +52,7 @@ Item
                 Cura.MachineSelector
                 {
                     id: machineSelection
-                    z: openFileButtonBackground.z - 1
+                    z: openFileButtonBackground.z - 1 //Ensure that the tooltip of the open file button stays above the item row.
                     Layout.minimumWidth: UM.Theme.getSize("machine_selector_widget").width
                     Layout.maximumWidth: UM.Theme.getSize("machine_selector_widget").width
                     Layout.fillWidth: true
@@ -117,4 +117,4 @@ Item
             }
         }
     }
-}
+}