From 2cdf06413bb48628449594bc3c3ef8d2ef89d632 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 8 Feb 2017 09:41:42 +0100 Subject: [PATCH] Remove margin on the left of print monitor For the other side bar objects this margin was applied doubly, so that makes it very easy to remove. Contributes to issue CURA-3161. --- resources/qml/PrintMonitor.qml | 2 +- resources/qml/Sidebar.qml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml index 34cb3d438a..ea33dad592 100644 --- a/resources/qml/PrintMonitor.qml +++ b/resources/qml/PrintMonitor.qml @@ -533,7 +533,7 @@ Column Rectangle { color: UM.Theme.getColor("setting_category") - width: base.width - 2 * UM.Theme.getSize("default_margin").width + width: base.width height: UM.Theme.getSize("section").height Label diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index 45dc49d076..ab3032e7f1 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -499,9 +499,7 @@ Rectangle { anchors.bottom: footerSeparator.top anchors.top: headerSeparator.bottom - anchors.topMargin: UM.Theme.getSize("default_margin").height anchors.left: base.left - anchors.leftMargin: UM.Theme.getSize("default_margin").width anchors.right: base.right source: monitoringPrint ? "PrintMonitor.qml": "SidebarContents.qml" }