mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 14:35:56 +08:00
Made queue have a max width
CL-896
This commit is contained in:
parent
3ce9b481a2
commit
485058c3de
@ -79,20 +79,18 @@ Component
|
|||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
margins: UM.Theme.getSize("default_margin").width
|
|
||||||
top: queuedLabel.bottom
|
top: queuedLabel.bottom
|
||||||
topMargin: 0
|
topMargin: 0
|
||||||
left: parent.left
|
horizontalCenter: parent.horizontalCenter
|
||||||
bottomMargin: 0
|
bottomMargin: 0
|
||||||
right: parent.right
|
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
style: UM.Theme.styles.scrollview
|
style: UM.Theme.styles.scrollview
|
||||||
|
width: Math.min(800 * screenScaleFactor, maximumWidth)
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
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
|
spacing: UM.Theme.getSize("default_margin").height - 10 // 2x the shadow radius
|
||||||
|
|
||||||
model: OutputDevice.queuedPrintJobs
|
model: OutputDevice.queuedPrintJobs
|
||||||
@ -103,6 +101,7 @@ Component
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").height
|
anchors.rightMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
||||||
height: 175 * screenScaleFactor
|
height: 175 * screenScaleFactor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user