mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:06:13 +08:00
Remove superfluous rectangles
There's only one item in there. It makes no sense to group them by rows and that only makes the bindings more complicated. Contributes to issue CURA-4149.
This commit is contained in:
parent
e514a9f474
commit
454293f926
@ -409,19 +409,13 @@ Rectangle
|
|||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
Rectangle
|
|
||||||
{
|
|
||||||
id: timeSpecsRow
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.bottom: filamentSpecsRow.top
|
|
||||||
|
|
||||||
UM.TooltipArea
|
UM.TooltipArea
|
||||||
{
|
{
|
||||||
id: timeSpecPerFeatureTooltipArea
|
id: timeSpecPerFeatureTooltipArea
|
||||||
width: timeSpec.width
|
width: timeSpec.width
|
||||||
height: timeSpec.height
|
height: timeSpec.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: lengthSpec.top
|
||||||
|
|
||||||
text: {
|
text: {
|
||||||
var order = ["inset_0", "inset_x", "skin", "infill", "support_infill", "support_interface", "support", "travel", "retract", "none"];
|
var order = ["inset_0", "inset_x", "skin", "infill", "support_infill", "support_interface", "support", "travel", "retract", "none"];
|
||||||
@ -460,15 +454,6 @@ Rectangle
|
|||||||
text: (!base.printDuration || !base.printDuration.valid) ? catalog.i18nc("@label", "00h 00min") : base.printDuration.getDisplayString(UM.DurationFormat.Short)
|
text: (!base.printDuration || !base.printDuration.valid) ? catalog.i18nc("@label", "00h 00min") : base.printDuration.getDisplayString(UM.DurationFormat.Short)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Rectangle
|
|
||||||
{
|
|
||||||
id: filamentSpecsRow
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
width: childrenRect.width
|
|
||||||
height: childrenRect.height
|
|
||||||
|
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
id: lengthSpec
|
id: lengthSpec
|
||||||
@ -516,7 +501,6 @@ Rectangle
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// SaveButton and MonitorButton are actually the bottom footer panels.
|
// SaveButton and MonitorButton are actually the bottom footer panels.
|
||||||
// "!monitoringPrint" currently means "show-settings-mode"
|
// "!monitoringPrint" currently means "show-settings-mode"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user