Also set correct size for package card title

This commit is contained in:
Jaime van Kessel 2021-11-26 14:21:18 +01:00
parent b98e0d1753
commit 60b174177f

View File

@ -66,7 +66,7 @@ Rectangle
left: packageItem.right left: packageItem.right
right: parent.right right: parent.right
top: parent.top top: parent.top
topMargin: UM.Theme.getSize("default_margin").height topMargin: UM.Theme.getSize("narrow_margin").height
leftMargin: UM.Theme.getSize("default_margin").width leftMargin: UM.Theme.getSize("default_margin").width
rightMargin:UM.Theme.getSize("thick_margin").width rightMargin:UM.Theme.getSize("thick_margin").width
} }
@ -74,7 +74,7 @@ Rectangle
Label Label
{ {
text: packageData.displayName text: packageData.displayName
font: UM.Theme.getFont("large_bold") font: UM.Theme.getFont("medium_bold")
color: UM.Theme.getColor("text") color: UM.Theme.getColor("text")
verticalAlignment: Text.AlignTop verticalAlignment: Text.AlignTop
} }