Align the text to the center of the button

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-27 13:33:35 +01:00
parent fcde6e3a34
commit e863c34f68

View file

@ -122,6 +122,8 @@ Rectangle
text: marketplaceButton.text
color: marketplaceButton.hovered ? UM.Theme.getColor("main_window_header_background") : UM.Theme.getColor("primary_text")
width: contentWidth
verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering
}
anchors