Cleanup: remove warnings for non-existing margins

This commit is contained in:
Nino van Hooff 2019-11-12 14:51:48 +01:00
parent 3da53a3a89
commit ae245ed0e5

View file

@ -264,7 +264,7 @@ Item
{ {
id: upperHandleLabel id: upperHandleLabel
height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height height: sliderRoot.handleSize
anchors.bottom: parent.top anchors.bottom: parent.top
anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@ -374,7 +374,7 @@ Item
{ {
id: lowerHandleLabel id: lowerHandleLabel
height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height height: sliderRoot.handleSize
anchors.top: parent.bottom anchors.top: parent.bottom
anchors.topMargin: UM.Theme.getSize("narrow_margin").height anchors.topMargin: UM.Theme.getSize("narrow_margin").height
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter