Monitor Tab - Fix queue/manage queue alignment

Contributes to CL-1052
This commit is contained in:
Ian Paschal 2018-09-11 17:01:26 +02:00
parent ac5a038065
commit e7704ede3c
2 changed files with 5 additions and 2 deletions

View file

@ -26,7 +26,7 @@ Component
Label Label
{ {
id: manageQueueLabel id: manageQueueLabel
anchors.rightMargin: 4 * UM.Theme.getSize("default_margin").width anchors.rightMargin: 3 * UM.Theme.getSize("default_margin").width
anchors.right: queuedPrintJobs.right anchors.right: queuedPrintJobs.right
anchors.bottom: queuedLabel.bottom anchors.bottom: queuedLabel.bottom
text: catalog.i18nc("@label link to connect manager", "Manage queue") text: catalog.i18nc("@label link to connect manager", "Manage queue")

View file

@ -16,6 +16,8 @@ Item
return OutputDevice.formatDuration(time) return OutputDevice.formatDuration(time)
} }
width: parent.width
UM.I18nCatalog UM.I18nCatalog
{ {
id: catalog id: catalog
@ -54,7 +56,7 @@ Item
bottom: parent.bottom bottom: parent.bottom
left: parent.left left: parent.left
right: parent.horizontalCenter right: parent.horizontalCenter
margins: 2 * UM.Theme.getSize("default_margin").width margins: UM.Theme.getSize("wide_margin").width
rightMargin: UM.Theme.getSize("default_margin").width rightMargin: UM.Theme.getSize("default_margin").width
} }
@ -124,6 +126,7 @@ Item
right: parent.right right: parent.right
margins: 2 * UM.Theme.getSize("default_margin").width margins: 2 * UM.Theme.getSize("default_margin").width
leftMargin: UM.Theme.getSize("default_margin").width leftMargin: UM.Theme.getSize("default_margin").width
rightMargin: UM.Theme.getSize("default_margin").width
} }
Label Label