mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:36:04 +08:00
Change margins of read more button in marketplace onboarding banner
To comply with UX design CURA-8564
This commit is contained in:
parent
2618ad4a0f
commit
b07b5d5bc4
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user