Make some minor improvements to the qml

This implements some of the best practices that weren't used yet for the QML

CURA-6005
This commit is contained in:
Jaime van Kessel 2019-01-04 10:17:06 +01:00
parent 49076a7103
commit 0edc3f2680
6 changed files with 16 additions and 69 deletions

View file

@ -18,7 +18,7 @@ Item
ColumnLayout
{
spacing: UM.Theme.getSize("default_margin").height * 2
spacing: UM.Theme.getSize("wide_margin").height
width: parent.width
anchors.fill: parent

View file

@ -10,12 +10,14 @@ import Cura 1.1 as Cura
import "../components"
Column
{
id: welcomePage
spacing: UM.Theme.getSize("wide_margin").height
width: parent.width
topPadding: 150 * screenScaleFactor
height: childrenRect.height
anchors.centerIn: parent
Image
{
@ -51,3 +53,4 @@ Column
fixedWidthMode: true
}
}