Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-02-22 17:18:49 +0300
committerJaime van Kessel <nallath@gmail.com>2022-02-22 17:18:49 +0300
commit0b39fb1c916861fbab9a1c21225449b29ff01751 (patch)
treed263c168eccf5064b9dd736968f75cd93b7b726e /plugins/Marketplace/resources
parentadfb78e38abf54e0e95c42007cca3f44137a7345 (diff)
Hide download count in manage page
CURA-8726
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/PackageCardHeader.qml2
-rw-r--r--plugins/Marketplace/resources/qml/PackagePage.qml3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Marketplace/resources/qml/PackageCardHeader.qml b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
index 3a76f7a959..d6289f8ce1 100644
--- a/plugins/Marketplace/resources/qml/PackageCardHeader.qml
+++ b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
@@ -12,7 +12,7 @@ import Cura 1.6 as Cura
// are combined into the reusable "PackageCardHeader" component
Item
{
- default property alias contents: contentItem.children;
+ default property alias contents: contentItem.children
property var packageData
property bool showManageButtons: false
diff --git a/plugins/Marketplace/resources/qml/PackagePage.qml b/plugins/Marketplace/resources/qml/PackagePage.qml
index 21c400fff2..00e022dc20 100644
--- a/plugins/Marketplace/resources/qml/PackagePage.qml
+++ b/plugins/Marketplace/resources/qml/PackagePage.qml
@@ -40,7 +40,7 @@ Rectangle
id: downloadCount
Layout.preferredWidth: parent.width
Layout.fillHeight: true
-
+ visible: packageData.downloadCount != "0"
UM.RecolorImage
{
id: downloadsIcon
@@ -53,6 +53,7 @@ Rectangle
Label
{
+
anchors.verticalCenter: downloadsIcon.verticalCenter
color: UM.Theme.getColor("text")