Move default margin by default to Cura's action buttons

So we don't have to repeat that every time you create a new button.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-20 14:19:55 +01:00
parent cbd5238738
commit 42d73836f4
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
5 changed files with 5 additions and 8 deletions

View file

@ -172,8 +172,6 @@ Cura.ExpandableComponent
textColor: UM.Theme.getColor("primary")
textHoverColor: UM.Theme.getColor("text")
height: UM.Theme.getSize("action_panel_button").height
leftPadding: UM.Theme.getSize("default_margin").width
rightPadding: UM.Theme.getSize("default_margin").width
onClicked: popupItem.configuration_method = "custom"
}
@ -195,8 +193,6 @@ Cura.ExpandableComponent
textColor: UM.Theme.getColor("primary")
textHoverColor: UM.Theme.getColor("text")
height: UM.Theme.getSize("action_panel_button").height
leftPadding: UM.Theme.getSize("default_margin").width
rightPadding: UM.Theme.getSize("default_margin").width
onClicked: popupItem.configuration_method = "auto"
}