mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Fixed some layout issues with the Package Cards
Contributes to: CURA-8587
This commit is contained in:
parent
5373e9a36d
commit
3c225f1a73
2 changed files with 6 additions and 4 deletions
|
|
@ -185,10 +185,11 @@ Rectangle
|
|||
|
||||
}
|
||||
|
||||
// Description area
|
||||
Item
|
||||
{
|
||||
id: descriptionArea
|
||||
height: descriptionLabel.height
|
||||
height: childrenRect.height > descriptionLabel.height ? childrenRect.height : descriptionLabel.height
|
||||
anchors
|
||||
{
|
||||
top: titleBar.bottom
|
||||
|
|
@ -269,6 +270,7 @@ Rectangle
|
|||
{
|
||||
bottom: parent.bottom
|
||||
left: packageItem.right
|
||||
right: parent.right
|
||||
margins: UM.Theme.getSize("default_margin").height
|
||||
}
|
||||
spacing: UM.Theme.getSize("narrow_margin").width
|
||||
|
|
@ -276,7 +278,7 @@ Rectangle
|
|||
Label
|
||||
{
|
||||
id: authorBy
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
|
||||
text: catalog.i18nc("@label", "By")
|
||||
font: UM.Theme.getFont("default")
|
||||
|
|
@ -287,7 +289,7 @@ Rectangle
|
|||
{
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: authorBy.height
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
|
||||
text: packageData.authorName
|
||||
textFont: UM.Theme.getFont("default_bold")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue