mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Correct spacing in Welcome screen
CURA-8094 Cura onboarding flow
This commit is contained in:
parent
778db451ad
commit
1b8d261e95
@ -29,26 +29,39 @@ Item
|
|||||||
scale: 0.666
|
scale: 0.666
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Column
|
||||||
{
|
{
|
||||||
id: titleLabel
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
spacing: UM.Theme.getSize("thick_margin").height
|
||||||
text: catalog.i18nc("@label", "Welcome to Ultimaker Cura")
|
|
||||||
color: UM.Theme.getColor("primary_button")
|
Label
|
||||||
font: UM.Theme.getFont("huge_bold")
|
{
|
||||||
renderType: Text.NativeRendering
|
id: titleLabel
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
text: catalog.i18nc("@label", "Welcome to Ultimaker Cura")
|
||||||
|
color: UM.Theme.getColor("primary_button")
|
||||||
|
font: UM.Theme.getFont("huge_bold")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
id: textLabel
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
text: catalog.i18nc("@text", "Please follow these steps to set up Ultimaker Cura.\nThis will only take a few moments.")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
// Filler item
|
||||||
|
Item
|
||||||
{
|
{
|
||||||
id: textLabel
|
height: UM.Theme.getSize("thick_margin").height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
width: parent.width
|
||||||
horizontalAlignment: Text.AlignHCenter
|
|
||||||
text: catalog.i18nc("@text", "Please follow these steps to set up Ultimaker Cura.\nThis will only take a few moments.")
|
|
||||||
font: UM.Theme.getFont("medium")
|
|
||||||
color: UM.Theme.getColor("text")
|
|
||||||
renderType: Text.NativeRendering
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user