Split PackageCard into PackageCard and PackagePage

cura 8734
This commit is contained in:
casper 2021-12-08 10:53:51 +01:00
parent 7be2da587b
commit 5e35e19f21
3 changed files with 516 additions and 300 deletions

View file

@ -74,11 +74,11 @@ Item
clip: true //Need to clip, not for the bottom (which is off the window) but for the top (which would overlap the header).
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentHeight: expandedPackageCard.height + UM.Theme.getSize("default_margin").height * 2
contentHeight: packagePage.height + UM.Theme.getSize("default_margin").height * 2
PackageCard
PackagePage
{
id: expandedPackageCard
id: packagePage
anchors
{
left: parent.left
@ -90,7 +90,6 @@ Item
}
packageData: detailPage.packageData
expanded: true
}
}
}