From db072eae8e34572a9e9a939233b45cae551ded8f Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 19 Sep 2017 10:11:41 +0200 Subject: [PATCH] Add some margin for the helper boxes, not perfect yet CURA-4303 --- resources/qml/SidebarSimple.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index f65b436acc..be4fe65adf 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -403,8 +403,8 @@ Item { id: infillCellLeft - anchors.top: speedLabel.top - anchors.topMargin: UM.Theme.getSize("sidebar_margin").height * 1.2 // FIXME better margin value + anchors.top: speedLabel.bottom + anchors.topMargin: UM.Theme.getSize("sidebar_margin").height anchors.left: parent.left width: UM.Theme.getSize("sidebar").width * .45 - UM.Theme.getSize("sidebar_margin").width @@ -658,8 +658,8 @@ Item id: enableSupportLabel visible: enableSupportCheckBox.visible - anchors.top: infillCellRight.bottom - anchors.topMargin: UM.Theme.getSize("sidebar_margin").height + anchors.top: enableSupportCheckBox.top + anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width anchors.verticalCenter: enableSupportCheckBox.verticalCenter @@ -675,7 +675,7 @@ Item property alias _hovered: enableSupportMouseArea.containsMouse anchors.top: infillCellRight.bottom - anchors.topMargin: UM.Theme.getSize("sidebar_margin").height + anchors.topMargin: UM.Theme.getSize("sidebar_margin").height * 2 anchors.left: infillCellRight.left style: UM.Theme.styles.checkbox;