mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
review comments fixed
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com> CURA-7951
This commit is contained in:
parent
4096fc864b
commit
118f49a052
7 changed files with 76 additions and 90 deletions
|
@ -109,18 +109,7 @@ Cura.Menu
|
|||
height: UM.Theme.getSize("small_popup_dialog").height
|
||||
minimumWidth: UM.Theme.getSize("small_popup_dialog").width
|
||||
minimumHeight: UM.Theme.getSize("small_popup_dialog").height
|
||||
|
||||
onAccepted: {
|
||||
if (gridPlacementSelected.checked)
|
||||
{
|
||||
CuraActions.multiplySelectionToGrid(copiesField.value)
|
||||
}
|
||||
else
|
||||
{
|
||||
CuraActions.multiplySelection(copiesField.value)
|
||||
}
|
||||
}
|
||||
|
||||
onAccepted: gridPlacementSelected.checked? CuraActions.multiplySelectionToGrid(copiesField.value) : CuraActions.multiplySelection(copiesField.value)
|
||||
buttonSpacing: UM.Theme.getSize("thin_margin").width
|
||||
|
||||
rightButtons:
|
||||
|
@ -169,7 +158,17 @@ Cura.Menu
|
|||
{
|
||||
id: gridPlacementSelected
|
||||
text: catalog.i18nc("@label", "Grid Placement")
|
||||
|
||||
UM.ToolTip
|
||||
{
|
||||
visible: parent.hovered
|
||||
targetPoint: Qt.point(parent.x + Math.round(parent.width / 2), parent.y)
|
||||
x: 0
|
||||
y: parent.y + parent.height + UM.Theme.getSize("default_margin").height
|
||||
tooltipText: catalog.i18nc("@info", "Multiply selected item and place them in a grid of build plate.")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue