Remove hardcoded narrow_margins

CURA-7745
This commit is contained in:
Jaime van Kessel 2020-10-08 17:55:11 +02:00
parent 3e67d20890
commit ec5796400b
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 7 additions and 7 deletions

View file

@ -58,7 +58,7 @@ Item
anchors
{
left: externalLinkIcon.right
leftMargin: 6 * screenScaleFactor // TODO: Theme!
leftMargin: UM.Theme.getSize("narrow_margin").width
verticalCenter: externalLinkIcon.verticalCenter
}
color: UM.Theme.getColor("text_link")
@ -88,7 +88,7 @@ Item
anchors
{
left: queuedPrintJobs.left
leftMargin: 6 * screenScaleFactor // TODO: Theme!
leftMargin: UM.Theme.getSize("narrow_margin").width
top: queuedLabel.bottom
topMargin: 24 * screenScaleFactor // TODO: Theme!
}
@ -99,7 +99,7 @@ Item
text: catalog.i18nc("@label", "There are no print jobs in the queue. Slice and send a job to add one.")
color: UM.Theme.getColor("text")
elide: Text.ElideRight
font: UM.Theme.getFont("medium") // 14pt, regular
font: UM.Theme.getFont("medium")
anchors.verticalCenter: parent.verticalCenter
// FIXED-LINE-HEIGHT: