Fix overlap if first option is radioButton

CURA-6598
This commit is contained in:
Jaime van Kessel 2019-07-25 17:05:31 +02:00
parent abc6e5950b
commit cc4dc6a27c

View file

@ -70,7 +70,7 @@ 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 // 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 x: !isEnabled && index !== 0 && index + 1 !== repeater.count ? (checkboxSize - inactiveMarkerSize) / 2: 0
} }
} }
} }