mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 23:34:32 +08:00
Fix font usage in installed plug-ins
Several different font sizes should be used here. Contributes to issue CURA-6025.
This commit is contained in:
parent
7ef8287e52
commit
4177faa6ea
@ -49,13 +49,14 @@ Item
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
height: Math.floor(UM.Theme.getSize("toolbox_property_label").height)
|
height: Math.floor(UM.Theme.getSize("toolbox_property_label").height)
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("large_bold")
|
||||||
color: pluginInfo.color
|
color: pluginInfo.color
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: model.description
|
text: model.description
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
maximumLineCount: 3
|
maximumLineCount: 3
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
@ -82,6 +83,7 @@ Item
|
|||||||
return model.author_name
|
return model.author_name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: Math.floor(UM.Theme.getSize("toolbox_property_label").height)
|
height: Math.floor(UM.Theme.getSize("toolbox_property_label").height)
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
@ -96,6 +98,7 @@ Item
|
|||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: model.version
|
text: model.version
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("toolbox_property_label").height
|
height: UM.Theme.getSize("toolbox_property_label").height
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user