Change margins of read more button in marketplace onboarding banner

To comply with UX design

CURA-8564
This commit is contained in:
casper 2021-11-30 12:11:32 +01:00 committed by Jelle Spijker
parent 2618ad4a0f
commit b07b5d5bc4
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -85,8 +85,8 @@ Rectangle
if (line.implicitWidth + readMoreButton.width + UM.Theme.getSize("default_margin").width > width)
{
// If it does place it after the body text
readMoreButton.anchors.bottomMargin = -(fontMetrics.height + UM.Theme.getSize("thin_margin").height);
readMoreButton.anchors.leftMargin = 0;
readMoreButton.anchors.bottomMargin = -(fontMetrics.height);
readMoreButton.anchors.leftMargin = UM.Theme.getSize("thin_margin").width;
}
else
{