Add more margin above printer type labels

A bit of Gestalt.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-07 13:49:17 +01:00
parent 15f81da95b
commit 43a06fdc3d
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -64,11 +64,12 @@ Column
section.criteria: ViewSection.FullString
section.delegate: Item
{
height: printerTypeLabel.height + UM.Theme.getSize("default_margin").height
height: printerTypeLabel.height + UM.Theme.getSize("default_margin").height * 2 //Causes a default margin above the label and a default margin below the label.
Cura.PrinterTypeLabel
{
id: printerTypeLabel
text: Cura.MachineManager.getAbbreviatedMachineName(section)
anchors.verticalCenter: parent.verticalCenter //One default margin above and one below.
}
}