Use theme

This commit is contained in:
Lipu Fei 2019-03-22 13:06:35 +01:00
parent 26acad3dbc
commit 2074bf9133
3 changed files with 7 additions and 4 deletions

View file

@ -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
}