From abc6e5950b6b4ca0dab413c30300c5a6091254be Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 25 Jul 2019 17:02:34 +0200 Subject: [PATCH] Fix alignment of inactiveMarker CURA-6598 --- resources/qml/RadioCheckbar.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/RadioCheckbar.qml b/resources/qml/RadioCheckbar.qml index 2d863f7a66..645b24e560 100644 --- a/resources/qml/RadioCheckbar.qml +++ b/resources/qml/RadioCheckbar.qml @@ -69,6 +69,8 @@ Item { id: activeComponent 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 } } }