mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:39:03 +08:00
Fix print settings tab in materials view
CURA-8979
This commit is contained in:
parent
9ba44f1d30
commit
2dd440cc0c
@ -511,31 +511,37 @@ Item
|
||||
}
|
||||
}
|
||||
|
||||
ListView
|
||||
Column
|
||||
{
|
||||
anchors
|
||||
{
|
||||
top: pageSelectorTabRow.bottom
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
}
|
||||
visible: pageSelectorTabRow.currentItem.activeView === "settings"
|
||||
spacing: UM.Theme.getSize("narrow_margin").height
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: UM.Theme.getSize("thin_margin").height
|
||||
anchors.bottomMargin: UM.Theme.getSize("thin_margin").height
|
||||
anchors.leftMargin: UM.Theme.getSize("thin_margin").width
|
||||
anchors.rightMargin: UM.Theme.getSize("thin_margin").width
|
||||
ScrollBar.vertical: UM.ScrollBar {}
|
||||
clip: true
|
||||
|
||||
Repeater
|
||||
{
|
||||
model: UM.SettingDefinitionsModel
|
||||
{
|
||||
containerId: Cura.MachineManager.activeMachine != null ? Cura.MachineManager.activeMachine.definition.id: ""
|
||||
visibilityHandler: Cura.MaterialSettingsVisibilityHandler { }
|
||||
expanded: ["*"]
|
||||
}
|
||||
ScrollBar.vertical: UM.ScrollBar {}
|
||||
clip: true
|
||||
visible: pageSelectorTabRow.currentItem.activeView === "settings"
|
||||
|
||||
delegate: UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: model.description
|
||||
}
|
||||
UM.Label
|
||||
{
|
||||
id: label
|
||||
@ -594,12 +600,13 @@ Item
|
||||
{
|
||||
id: machinePropertyProvider
|
||||
containerId: Cura.MachineManager.activeMachine != null ? Cura.MachineManager.activeMachine.definition.id: ""
|
||||
watchedProperties: [ "value" ]
|
||||
watchedProperties: ["value"]
|
||||
key: model.key
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updateCostPerMeter()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user