Fix fonts of plug-in tiles

Contributes to issue CURA-6025.
This commit is contained in:
Ghostkeeper 2018-12-31 15:14:23 +01:00
parent c92a0f1fd4
commit df0351acd4
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
4 changed files with 5 additions and 4 deletions

View file

@ -30,7 +30,7 @@ Row
width: contentWidth
anchors.verticalCenter: starIcon.verticalCenter
color: starIcon.color
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
renderType: Text.NativeRendering
}
}

View file

@ -112,7 +112,7 @@ Item
elide: Text.ElideRight
width: parent.width
wrapMode: Text.WordWrap
color: UM.Theme.getColor("text_medium")
color: UM.Theme.getColor("text")
font: UM.Theme.getFont("default")
anchors.top: name.bottom
anchors.bottom: rating.top

View file

@ -41,7 +41,8 @@ UM.PointingRectangle {
base.opacity = 0;
}
Label {
Label
{
id: label;
anchors {
top: parent.top;

View file

@ -25,7 +25,7 @@ ToolTip
text: ""
delay: 500
font: UM.Theme.getFont("default")
// If the text is not set, just set the height to 0 to prevent it from showing
height: text != "" ? label.contentHeight + 2 * UM.Theme.getSize("thin_margin").width: 0