mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:56:01 +08:00
Add more margin above printer type labels
A bit of Gestalt. Contributes to issue CURA-5876.
This commit is contained in:
parent
15f81da95b
commit
43a06fdc3d
@ -64,11 +64,12 @@ Column
|
|||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
section.delegate: Item
|
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
|
Cura.PrinterTypeLabel
|
||||||
{
|
{
|
||||||
id: printerTypeLabel
|
id: printerTypeLabel
|
||||||
text: Cura.MachineManager.getAbbreviatedMachineName(section)
|
text: Cura.MachineManager.getAbbreviatedMachineName(section)
|
||||||
|
anchors.verticalCenter: parent.verticalCenter //One default margin above and one below.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user