From e3eb82b022f19d6f13cba5ff8be0858fed2f43ef Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 6 Dec 2021 16:21:58 +0100 Subject: [PATCH] Align read more label to the text, not the parent box This is the same alignment as the ellipsis shown when the description is abbreviated. Looks correct, and it should be correct. Contributes to issue CURA-8587. --- plugins/Marketplace/resources/qml/PackageCard.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Marketplace/resources/qml/PackageCard.qml b/plugins/Marketplace/resources/qml/PackageCard.qml index bf0dda217b..2112dc6a81 100644 --- a/plugins/Marketplace/resources/qml/PackageCard.qml +++ b/plugins/Marketplace/resources/qml/PackageCard.qml @@ -239,7 +239,7 @@ Rectangle { id: readMoreButton anchors.right: parent.right - anchors.bottom: parent.bottom + anchors.bottom: descriptionLabel.bottom height: fontMetrics.height //Height of a single line. text: catalog.i18nc("@info", "Read more")