mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update UI layering and MachineSelector properties in 3MFReader
The z-index property of combobox and Loader elements in WorkspaceSection.qml was adjusted to ensure proper layering. CURA-11700
This commit is contained in:
parent
5eeee37f0e
commit
37dc9e5dcb
2 changed files with 9 additions and 10 deletions
|
@ -116,17 +116,12 @@ 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
|
||||
Cura.MachineSelector
|
||||
combobox: Cura.MachineSelector
|
||||
{
|
||||
id: machineSelector
|
||||
visible: workspaceDialog.visible && manager.updatableMachinesModel.count > 1
|
||||
headerCornerSide: Cura.RoundedRectangle.Direction.All
|
||||
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: Math.round(parent.width / 2.5)
|
||||
height: UM.Theme.getSize("button").height
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
machineListModel: manager.updatableMachinesModel
|
||||
machineName: manager.machineName
|
||||
|
||||
|
|
|
@ -15,7 +15,11 @@ Item
|
|||
property Component content: Item { visible: false }
|
||||
|
||||
property alias comboboxTitle: comboboxLabel.text
|
||||
property Component combobox: Item { visible: false }
|
||||
property Component combobox: Item
|
||||
{
|
||||
z: -1
|
||||
visible: false
|
||||
}
|
||||
property string comboboxTooltipText: ""
|
||||
property bool comboboxVisible: false
|
||||
|
||||
|
@ -91,11 +95,11 @@ Item
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
Loader
|
||||
{
|
||||
width: parent.width
|
||||
height: content.height
|
||||
z: -1
|
||||
anchors.top: sectionTitleRow.bottom
|
||||
sourceComponent: content
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue