Browse Source

Cleanup: remove warnings for non-existing margins

Nino van Hooff 5 years ago
parent
commit
ae245ed0e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/SimulationView/LayerSlider.qml

+ 2 - 2
plugins/SimulationView/LayerSlider.qml

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