From ae245ed0e58934ef6d44ff73d1eec20d8e3146e9 Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Tue, 12 Nov 2019 14:51:48 +0100 Subject: [PATCH] Cleanup: remove warnings for non-existing margins --- plugins/SimulationView/LayerSlider.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index 6f608fe474..d6de45df9b 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/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