Fix alignment of inactiveMarker

CURA-6598
This commit is contained in:
Jaime van Kessel 2019-07-25 17:02:34 +02:00
parent 11c23b4fe9
commit abc6e5950b

View File

@ -69,6 +69,8 @@ Item
{ {
id: activeComponent id: activeComponent
sourceComponent: isEnabled? checkboxComponent : disabledComponent sourceComponent: isEnabled? checkboxComponent : disabledComponent
// Ensure the inactive markers that are not the first / last one align with the center of the checkboxes
x: isEnabled && index !== 0 && index + 1 !== repeater.count ? -(checkboxSize - inactiveMarkerSize) / 2: 0
} }
} }
} }