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:
Ghostkeeper 2018-12-31 15:37:31 +01:00
parent 7ef8287e52
commit 4177faa6ea
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -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")