Codestyle changes

This commit is contained in:
Jaime van Kessel 2018-08-09 13:28:08 +02:00
parent d31df8ec67
commit da23eff2a6

View file

@ -41,14 +41,18 @@ Component
Rectangle Rectangle
{ {
id: printJobArea id: printJobArea
border.width: UM.Theme.getSize("default_lining").width border.width: UM.Theme.getSize("default_lining").width
border.color: lineColor border.color: lineColor
anchors.top: activePrintersLabel.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height anchors
anchors.left: parent.left {
anchors.leftMargin: UM.Theme.getSize("default_margin").width top: activePrintersLabel.bottom
anchors.right: parent.right margins: UM.Theme.getSize("default_margin").width
anchors.rightMargin:UM.Theme.getSize("default_margin").width left: parent.left
right: parent.right
}
radius: cornerRadius radius: cornerRadius
height: childrenRect.height height: childrenRect.height
@ -81,12 +85,14 @@ Component
Column Column
{ {
id: printJobColumn id: printJobColumn
anchors.top: printJobTitleBar.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height anchors
anchors.left: parent.left {
anchors.leftMargin: UM.Theme.getSize("default_margin").width top: printJobTitleBar.bottom
anchors.right: parent.right margins: UM.Theme.getSize("default_margin").height
anchors.rightMargin: UM.Theme.getSize("default_margin").width right: parent.right
left: parent.left
}
Item Item
{ {
@ -99,6 +105,7 @@ Component
font: UM.Theme.getFont("very_small") font: UM.Theme.getFont("very_small")
} }
Label Label
{ {
text: manager.activePrintJobs.length text: manager.activePrintJobs.length
@ -106,6 +113,7 @@ Component
anchors.right: parent.right anchors.right: parent.right
} }
} }
Item Item
{ {
width: parent.width width: parent.width
@ -116,6 +124,7 @@ Component
text: catalog.i18nc("@label", "Queued") text: catalog.i18nc("@label", "Queued")
font: UM.Theme.getFont("very_small") font: UM.Theme.getFont("very_small")
} }
Label Label
{ {
text: manager.queuedPrintJobs.length text: manager.queuedPrintJobs.length
@ -124,6 +133,7 @@ Component
} }
} }
} }
OpenPanelButton OpenPanelButton
{ {
anchors.top: printJobColumn.bottom anchors.top: printJobColumn.bottom