mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:35:53 +08:00
Merge pull request #4899 from Ultimaker/monitor_tab_scroll_tweak
Improve monitor tab temporary scroll bar
This commit is contained in:
commit
1f17896e78
@ -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
|
||||||
@ -134,7 +135,6 @@ Component
|
|||||||
text: catalog.i18nc("@label link to connect manager", "Manage queue in Cura Connect")
|
text: catalog.i18nc("@label link to connect manager", "Manage queue in Cura Connect")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
@ -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 != ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user