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.
This commit is contained in:
Ghostkeeper 2021-12-06 16:21:58 +01:00
parent e646d53b53
commit e3eb82b022
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -239,7 +239,7 @@ Rectangle
{ {
id: readMoreButton id: readMoreButton
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: descriptionLabel.bottom
height: fontMetrics.height //Height of a single line. height: fontMetrics.height //Height of a single line.
text: catalog.i18nc("@info", "Read more") text: catalog.i18nc("@info", "Read more")