Fix quality layer label alignment

CURA-6598
This commit is contained in:
Lipu Fei 2019-09-05 09:00:53 +02:00
parent 423b4ad869
commit 13011e375b

View file

@ -53,6 +53,10 @@ Item
right: index + 1 === repeater.count ? parent.right: undefined
left: index + 1 === repeater.count || index === 0 ? undefined: parent.left
leftMargin: Math.round((itemSize - contentWidth) * 0.5)
// For some reason, the last label in the row gets misaligned with Qt 5.10. This lines seems to
// fix it.
verticalCenter: parent.verticalCenter
}
}
}