From 159c79ab4bd909b65e5faec8fba7b2383a77e540 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 14 Sep 2017 13:17:35 +0200 Subject: [PATCH] Tweaked the margins to align better CURA-4182 --- resources/qml/SidebarSimple.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index 4e68dfcbc0..20d92885d7 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -44,7 +44,7 @@ Item { id: resolutionLabel anchors.top: resolutionSlider.top - anchors.topMargin: UM.Theme.getSize("default_margin").height / 4 + anchors.topMargin: UM.Theme.getSize("default_margin").height * 1.2 anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width width: UM.Theme.getSize("sidebar").width * .45 - UM.Theme.getSize("sidebar_margin").width @@ -57,9 +57,10 @@ Item Text { id: speedLabel - anchors.bottom: resolutionSlider.bottom + anchors.top: resolutionLabel.bottom anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width + anchors.topMargin: UM.Theme.getSize("default_margin").height * 1.5 text: catalog.i18nc("@label", "Print Speed") font: UM.Theme.getFont("default") @@ -94,7 +95,7 @@ Item { id: resolutionSlider anchors.top: parent.top - anchors.topMargin: UM.Theme.getSize("default_margin").height / 2 + anchors.left: infillCellRight.left anchors.right: infillCellRight.right width: UM.Theme.getSize("sidebar").width * .55