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

@ -81,8 +81,6 @@ Rectangle
rightMargin: UM.Theme.getSize("default_margin").width
verticalCenter: parent.verticalCenter
}
leftPadding: UM.Theme.getSize("default_margin").width
rightPadding: UM.Theme.getSize("default_margin").width
text: catalog.i18nc("@action:button", "Marketplace")
height: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
color: UM.Theme.getColor("main_window_header_secondary_button_background_active")