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.
This commit is contained in:
Ghostkeeper 2017-02-08 09:41:42 +01:00
parent be9823e94f
commit 2cdf06413b
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75
2 changed files with 1 additions and 3 deletions

View File

@ -533,7 +533,7 @@ Column
Rectangle Rectangle
{ {
color: UM.Theme.getColor("setting_category") 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 height: UM.Theme.getSize("section").height
Label Label

View File

@ -499,9 +499,7 @@ Rectangle
{ {
anchors.bottom: footerSeparator.top anchors.bottom: footerSeparator.top
anchors.top: headerSeparator.bottom anchors.top: headerSeparator.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height
anchors.left: base.left anchors.left: base.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.right: base.right anchors.right: base.right
source: monitoringPrint ? "PrintMonitor.qml": "SidebarContents.qml" source: monitoringPrint ? "PrintMonitor.qml": "SidebarContents.qml"
} }