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 width: contentWidth
anchors.verticalCenter: starIcon.verticalCenter anchors.verticalCenter: starIcon.verticalCenter
color: starIcon.color color: starIcon.color
font: UM.Theme.getFont("small") font: UM.Theme.getFont("default")
renderType: Text.NativeRendering renderType: Text.NativeRendering
} }
} }

View file

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

View file

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

View file

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