Browse Source

Add documentation about qml z fix

Co-Authored-By: nallath <nallath@gmail.com>
Ghostkeeper 6 years ago
parent
commit
e3dd5f1c39
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/PrepareStage/PrepareMenu.qml

+ 2 - 2
plugins/PrepareStage/PrepareMenu.qml

@@ -52,7 +52,7 @@ Item
                 Cura.MachineSelector
                 Cura.MachineSelector
                 {
                 {
                     id: machineSelection
                     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.minimumWidth: UM.Theme.getSize("machine_selector_widget").width
                     Layout.maximumWidth: UM.Theme.getSize("machine_selector_widget").width
                     Layout.maximumWidth: UM.Theme.getSize("machine_selector_widget").width
                     Layout.fillWidth: true
                     Layout.fillWidth: true
@@ -117,4 +117,4 @@ Item
             }
             }
         }
         }
     }
     }
-}
+}