Made queue have a max width

CL-896
This commit is contained in:
Jaime van Kessel 2018-08-31 15:50:34 +02:00
parent 3ce9b481a2
commit 485058c3de

View file

@ -79,20 +79,18 @@ Component
anchors
{
margins: UM.Theme.getSize("default_margin").width
top: queuedLabel.bottom
topMargin: 0
left: parent.left
horizontalCenter: parent.horizontalCenter
bottomMargin: 0
right: parent.right
bottom: parent.bottom
}
style: UM.Theme.styles.scrollview
width: Math.min(800 * screenScaleFactor, maximumWidth)
ListView
{
anchors.fill: parent
anchors.margins: UM.Theme.getSize("default_margin").height
//anchors.margins: UM.Theme.getSize("default_margin").height
spacing: UM.Theme.getSize("default_margin").height - 10 // 2x the shadow radius
model: OutputDevice.queuedPrintJobs
@ -103,6 +101,7 @@ Component
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("default_margin").height
anchors.leftMargin: UM.Theme.getSize("default_margin").height
height: 175 * screenScaleFactor
}
}