mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Merge branch 'feature_hide_gradual_infill' into 3.0
This commit is contained in:
commit
07899ba798
@ -371,7 +371,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: infillCellRight
|
id: infillCellRight
|
||||||
|
|
||||||
height: infillSlider.height + enableGradualInfillCheckBox.height + (UM.Theme.getSize("sidebar_margin").height * 2)
|
height: infillSlider.height + UM.Theme.getSize("sidebar_margin").height + enableGradualInfillCheckBox.visible * (enableGradualInfillCheckBox.height + UM.Theme.getSize("sidebar_margin").height)
|
||||||
width: UM.Theme.getSize("sidebar").width * .55
|
width: UM.Theme.getSize("sidebar").width * .55
|
||||||
|
|
||||||
anchors.left: infillCellLeft.right
|
anchors.left: infillCellLeft.right
|
||||||
@ -531,6 +531,7 @@ Item
|
|||||||
|
|
||||||
style: UM.Theme.styles.checkbox
|
style: UM.Theme.styles.checkbox
|
||||||
enabled: base.settingsEnabled
|
enabled: base.settingsEnabled
|
||||||
|
visible: infillSteps.properties.enabled == "True"
|
||||||
checked: parseInt(infillSteps.properties.value) > 0
|
checked: parseInt(infillSteps.properties.value) > 0
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
@ -873,7 +874,7 @@ Item
|
|||||||
id: infillSteps
|
id: infillSteps
|
||||||
containerStackId: Cura.MachineManager.activeStackId
|
containerStackId: Cura.MachineManager.activeStackId
|
||||||
key: "gradual_infill_steps"
|
key: "gradual_infill_steps"
|
||||||
watchedProperties: ["value"]
|
watchedProperties: ["value", "enabled"]
|
||||||
storeIndex: 0
|
storeIndex: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user