mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Added Cura.MachineSelector in place of combobox
combobox seemed to be tampering with the mouse area of machineselector CURA-11700
This commit is contained in:
parent
9f952b91c3
commit
9604674c8b
1 changed files with 8 additions and 3 deletions
|
@ -103,12 +103,17 @@ UM.Dialog
|
||||||
comboboxTitle: catalog.i18nc("@action:label", "Open With")
|
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.")
|
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
|
comboboxVisible: workspaceDialog.visible && manager.updatableMachinesModel.count > 1
|
||||||
combobox: Cura.MachineSelector
|
Cura.MachineSelector
|
||||||
{
|
{
|
||||||
id: machineSelector
|
id: machineSelector
|
||||||
|
visible: comboboxVisible
|
||||||
headerCornerSide: Cura.RoundedRectangle.Direction.All
|
headerCornerSide: Cura.RoundedRectangle.Direction.All
|
||||||
width: parent.width
|
anchors.top: parent.top
|
||||||
height: parent.height
|
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
|
machineListModel: manager.updatableMachinesModel
|
||||||
machineName: manager.machineName
|
machineName: manager.machineName
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue