Use themed values for margins

This commit is contained in:
Lipu Fei 2019-03-22 14:34:02 +01:00
parent 6f911f9924
commit 85b28a0c90

View File

@ -38,12 +38,12 @@ Item
width: (parent.width * 3 / 4) | 0
border.color: "#dfdfdf"
border.width: 1
border.width: UM.Theme.getSize("default_lining").width
ScrollView
{
anchors.fill: parent
anchors.margins: 1
anchors.margins: UM.Theme.getSize("default_lining").width
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff