Improve monitor tab temporary scroll bar

This commit is contained in:
Ian Paschal 2018-11-28 12:20:09 +01:00
parent 7d42fdf183
commit 14cee32cec

View file

@ -52,12 +52,13 @@ Component
id: printers id: printers
anchors anchors
{ {
left: parent.left left: queue.left
right: parent.right right: queue.right
top: parent.top top: parent.top
topMargin: 48 * screenScaleFactor // TODO: Theme! topMargin: 48 * screenScaleFactor // TODO: Theme!
} }
height: 264 * screenScaleFactor // TODO: Theme! height: 264 * screenScaleFactor // TODO: Theme!
Row Row
{ {
spacing: 60 * screenScaleFactor // TODO: Theme! spacing: 60 * screenScaleFactor // TODO: Theme!
@ -77,13 +78,13 @@ Component
Item Item
{ {
id: queue id: queue
width: Math.min(834 * screenScaleFactor, maximumWidth)
anchors { anchors {
bottom: parent.bottom bottom: parent.bottom
left: parent.left horizontalCenter: parent.horizontalCenter
right: parent.right
top: printers.bottom top: printers.bottom
topMargin: 48 topMargin: 48 * screenScaleFactor // TODO: Theme!
} }
Label Label
@ -135,7 +136,6 @@ Component
} }
} }
MouseArea MouseArea
{ {
anchors.fill: manageQueueLabel anchors.fill: manageQueueLabel
@ -217,7 +217,7 @@ Component
} }
style: UM.Theme.styles.scrollview style: UM.Theme.styles.scrollview
visible: OutputDevice.receivedPrintJobs visible: OutputDevice.receivedPrintJobs
width: Math.min(834 * screenScaleFactor, maximumWidth) width: parent.width
ListView ListView
{ {
@ -244,5 +244,4 @@ Component
visible: OutputDevice.activeCameraUrl != "" visible: OutputDevice.activeCameraUrl != ""
} }
} }
} }