mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Split PackageCard into PackageCard and PackagePage
cura 8734
This commit is contained in:
parent
7be2da587b
commit
5e35e19f21
3 changed files with 516 additions and 300 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue