mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Set position and width of card in details page
This means that the card itself shouldn't specify a width. It should get a width from how it's used. Contributes to issue CURA-8565.
This commit is contained in:
parent
5edd830210
commit
0069182c6b
3 changed files with 10 additions and 1 deletions
|
@ -70,6 +70,15 @@ Item
|
|||
PackageCard
|
||||
{
|
||||
packageData: detailPage.packageData
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
leftMargin: UM.Theme.getSize("default_margin").width
|
||||
right: parent.right
|
||||
rightMargin: anchors.leftMargin
|
||||
top: parent.top
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue