Add padding around the printer icons

CL-893
This commit is contained in:
Jaime van Kessel 2018-09-03 10:26:27 +02:00
parent 2e5b11af9d
commit b7d7091de8

View file

@ -135,12 +135,20 @@ Component
onClicked: base.collapsed = !base.collapsed
}
UM.RecolorImage
Item
{
id: machineIcon
// Yeah, this is hardcoded now, but I can't think of a good way to fix this.
// The UI is going to get another update soon, so it's probably not worth the effort...
width: 58
height: 58
anchors.top: parent.top
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.left: parent.left
UM.RecolorImage
{
anchors.centerIn: parent
source:
{
switch(modelData.type)
@ -158,7 +166,7 @@ Component
color: modelData.activePrintJob != undefined ? UM.Theme.getColor("primary") : UM.Theme.getColor("setting_control_disabled")
}
}
Item
{
height: childrenRect.height