Correct spacing in Welcome screen

CURA-8094 Cura onboarding flow
This commit is contained in:
Jelle Spijker 2021-03-23 12:57:38 +01:00
parent 778db451ad
commit 1b8d261e95
No known key found for this signature in database
GPG Key ID: 6662DC033BE6B99A

View File

@ -29,6 +29,11 @@ Item
scale: 0.666 scale: 0.666
} }
Column
{
anchors.horizontalCenter: parent.horizontalCenter
spacing: UM.Theme.getSize("thick_margin").height
Label Label
{ {
id: titleLabel id: titleLabel
@ -50,6 +55,14 @@ Item
color: UM.Theme.getColor("text") color: UM.Theme.getColor("text")
renderType: Text.NativeRendering renderType: Text.NativeRendering
} }
}
// Filler item
Item
{
height: UM.Theme.getSize("thick_margin").height
width: parent.width
}
Cura.PrimaryButton Cura.PrimaryButton
{ {
@ -58,5 +71,12 @@ Item
text: catalog.i18nc("@button", "Get started") text: catalog.i18nc("@button", "Get started")
onClicked: base.showNextPage() onClicked: base.showNextPage()
} }
// Filler item
Item
{
height: UM.Theme.getSize("thick_margin").height
width: parent.width
}
} }
} }