From 9604674c8bf624ff287d95c4d95bfdead2d2abbd Mon Sep 17 00:00:00 2001 From: Saumya Jain Date: Thu, 14 Mar 2024 11:45:15 +0100 Subject: [PATCH] Added Cura.MachineSelector in place of combobox combobox seemed to be tampering with the mouse area of machineselector CURA-11700 --- plugins/3MFReader/WorkspaceDialog.qml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml index a8cdad92bd..e617764700 100644 --- a/plugins/3MFReader/WorkspaceDialog.qml +++ b/plugins/3MFReader/WorkspaceDialog.qml @@ -103,12 +103,17 @@ UM.Dialog comboboxTitle: catalog.i18nc("@action:label", "Open With") comboboxTooltipText: catalog.i18nc("@info:tooltip", "Printer settings will be updated to match the settings saved with the project.") comboboxVisible: workspaceDialog.visible && manager.updatableMachinesModel.count > 1 - combobox: Cura.MachineSelector + Cura.MachineSelector { id: machineSelector + visible: comboboxVisible headerCornerSide: Cura.RoundedRectangle.Direction.All - width: parent.width - height: parent.height + anchors.top: parent.top + anchors.topMargin: UM.Theme.getSize("default_margin").width * 3 + anchors.right: parent.right + anchors.rightMargin: UM.Theme.getSize("default_margin").width + width: UM.Theme.getSize("machine_selector_widget").width + height: UM.Theme.getSize("machine_selector_widget").height machineListModel: manager.updatableMachinesModel machineName: manager.machineName