mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Fix fonts of plug-in tiles
Contributes to issue CURA-6025.
This commit is contained in:
parent
c92a0f1fd4
commit
df0351acd4
4 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue