mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use theme
This commit is contained in:
parent
26acad3dbc
commit
2074bf9133
3 changed files with 7 additions and 4 deletions
|
|
@ -74,7 +74,9 @@ Item
|
|||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,8 @@ Item
|
|||
{
|
||||
currentStep++
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
passLastPage()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ Item
|
|||
{
|
||||
anchors.top: titleLabel.bottom
|
||||
anchors.bottom: getStartedButton.top
|
||||
anchors.topMargin: 40
|
||||
anchors.bottomMargin: 40
|
||||
anchors.topMargin: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||
anchors.bottomMargin: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
width: parent.width * 3 / 4
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue