mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:29:01 +08:00
Rearrange items in WelcomeContent.qml
This commit is contained in:
parent
f8c4cee2de
commit
a9431b270f
@ -27,8 +27,7 @@ Item
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
|
||||
Item
|
||||
Item // Area for pictures and texts
|
||||
{
|
||||
anchors.top: titleLabel.bottom
|
||||
anchors.bottom: agreeButton.top
|
||||
@ -39,11 +38,6 @@ Item
|
||||
Label
|
||||
{
|
||||
id: disclaimerLineLabel
|
||||
/*
|
||||
anchors.top: titleLabel.bottom
|
||||
anchors.bottom: agreeButton.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
*/
|
||||
anchors.centerIn: parent
|
||||
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||
|
||||
|
@ -11,14 +11,17 @@ import Cura 1.1 as Cura
|
||||
//
|
||||
// This component contains the content for the "Welcome" page of the welcome on-boarding process.
|
||||
//
|
||||
Column
|
||||
Item
|
||||
{
|
||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||
|
||||
spacing: 60
|
||||
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||
|
||||
// Placeholder
|
||||
Label { text: " " }
|
||||
Column // Arrange the items vertically and put everything in the center
|
||||
{
|
||||
anchors.centerIn: parent
|
||||
width: parent.width
|
||||
spacing: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||
|
||||
Label
|
||||
{
|
||||
@ -31,11 +34,6 @@ Column
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
Column
|
||||
{
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 40
|
||||
|
||||
Image
|
||||
{
|
||||
id: curaImage
|
||||
@ -52,15 +50,17 @@ Column
|
||||
font: UM.Theme.getFont("medium")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
}
|
||||
|
||||
Cura.PrimaryButton
|
||||
{
|
||||
id: getStartedButton
|
||||
anchors.top: contentArea.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||
text: catalog.i18nc("@button", "Get started")
|
||||
width: 140
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user