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
parent ca60206728
commit 8e6210fb2c

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
{