fix anchors formatting

This commit is contained in:
altrup
2026-03-24 13:12:32 -04:00
parent b6fc897b39
commit f86d42d8f2
@@ -114,9 +114,7 @@ Slider {
Loader {
required property real index
anchors {
verticalCenter: background.verticalCenter
}
anchors.verticalCenter: background.verticalCenter
property real leftMargin: index > 0 ? root.dividerMargins : 0
property real rightMargin: index < background.leftWidths.length - 1 ? root.dividerMargins : root.handleMargins
x: background.leftValues[index] * root.effectiveDraggingWidth + leftMargin + (index > 0 ? leftPadding : 0)
@@ -138,9 +136,7 @@ Slider {
Loader {
required property int index
anchors {
verticalCenter: background.verticalCenter
}
anchors.verticalCenter: background.verticalCenter
property real leftMargin: index > 0 ? root.dividerMargins : 0
property real rightMargin: index < background.leftWidths.length - 1 ? root.dividerMargins : root.handleMargins
x: background.leftValues[index] * root.effectiveDraggingWidth + leftMargin + (index > 0 ? leftPadding : 0)