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

@ -48,6 +48,8 @@ Item
right: parent.right
}
leftPadding: UM.Theme.getSize("narrow_margin").width //Need more space than usual here for wide text.
rightPadding: UM.Theme.getSize("narrow_margin").width
tooltip: catalog.i18nc("@info:tooltip", "Select the active output device")
iconSource: popup.opened ? UM.Theme.getIcon("arrow_top") : UM.Theme.getIcon("arrow_bottom")
color: UM.Theme.getColor("action_panel_secondary")