mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -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
d5cfaa1e0a
commit
616bf479e5
3 changed files with 10 additions and 1 deletions
|
@ -77,6 +77,7 @@ ListView
|
|||
PackageCard
|
||||
{
|
||||
packageData: model.package
|
||||
width: parent.width - UM.Theme.getSize("default_margin").width - UM.Theme.getSize("narrow_margin").width
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue