Assign a font to Marketplace button

Otherwise the font face may be different, and the theme has no effect on the font.

Contributes to issue CURA-6025.
This commit is contained in:
Ghostkeeper 2018-12-31 13:26:55 +01:00
parent c6fb0d70af
commit d020a49b75
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -102,6 +102,7 @@ Item
{
id: label
text: marketplaceButton.text
font: UM.Theme.getFont("default")
color: marketplaceButton.hovered ? UM.Theme.getColor("main_window_header_background") : UM.Theme.getColor("primary_text")
width: contentWidth
verticalAlignment: Text.AlignVCenter