Remove rating packages/materials.

Online teams decided not to support ratings anymore, making this a rather useless feature in the upcoming release.

CURA-7606
This commit is contained in:
Remco Burema 2020-07-22 12:51:20 +02:00
parent 302e0c6277
commit 51a13675a5
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
6 changed files with 2 additions and 226 deletions

View file

@ -13,7 +13,7 @@ Rectangle
property int installedPackages: toolbox.viewCategory == "material" ? toolbox.getNumberOfInstalledPackagesByAuthor(model.id) : (toolbox.isInstalled(model.id) ? 1 : 0)
id: tileBase
width: UM.Theme.getSize("toolbox_thumbnail_large").width + (2 * UM.Theme.getSize("default_lining").width)
height: thumbnail.height + packageName.height + rating.height + UM.Theme.getSize("default_margin").width
height: thumbnail.height + packageName.height + UM.Theme.getSize("default_margin").width
border.width: UM.Theme.getSize("default_lining").width
border.color: UM.Theme.getColor("lining")
color: UM.Theme.getColor("main_background")
@ -67,13 +67,6 @@ Rectangle
source: "../../images/installed_check.svg"
}
SmallRatingWidget
{
id: rating
anchors.bottom: parent.bottom
anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height
anchors.horizontalCenter: parent.horizontalCenter
}
Rectangle
{
id: bottomBorder