mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:29:00 +08:00
Use theme
This commit is contained in:
parent
26acad3dbc
commit
2074bf9133
@ -74,7 +74,9 @@ Item
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.margins: 1
|
// Keep a small margin with the Rectangle container so its content will not overlap with the Rectangle
|
||||||
|
// border.
|
||||||
|
anchors.margins: UM.Theme.getSize("default_lining").width
|
||||||
sourceComponent: base.contentComponent != null ? base.contentComponent : emptyComponent
|
sourceComponent: base.contentComponent != null ? base.contentComponent : emptyComponent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,8 @@ Item
|
|||||||
{
|
{
|
||||||
currentStep++
|
currentStep++
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
passLastPage()
|
passLastPage()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,8 @@ Item
|
|||||||
{
|
{
|
||||||
anchors.top: titleLabel.bottom
|
anchors.top: titleLabel.bottom
|
||||||
anchors.bottom: getStartedButton.top
|
anchors.bottom: getStartedButton.top
|
||||||
anchors.topMargin: 40
|
anchors.topMargin: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||||
anchors.bottomMargin: 40
|
anchors.bottomMargin: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
width: parent.width * 3 / 4
|
width: parent.width * 3 / 4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user