PropertyLabel {
    text: "%1"
    tooltip: "%1"
}

ColumnLayout {
    spacing: StudioTheme.Values.sectionRowSpacing / 2
    SecondColumnLayout {
        SpinBox {
            minimumValue: -9999999
            maximumValue: 9999999
            decimals: 2
            backendValue: backendValues.%2_x
            implicitWidth: StudioTheme.Values.twoControlColumnWidth
                           + StudioTheme.Values.actionIndicatorWidth
        }

        Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }

        ControlLabel {
            text: "X"
        }

        Spacer { implicitWidth: StudioTheme.Values.controlGap }

        SpinBox {
            minimumValue: -9999999
            maximumValue: 9999999
            decimals: 2
            backendValue: backendValues.%2_y
            implicitWidth: StudioTheme.Values.twoControlColumnWidth
                           + StudioTheme.Values.actionIndicatorWidth
        }

        Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }

        ControlLabel {
            text: "Y"
        }

        ExpandingSpacer {}
    }

    SecondColumnLayout {
        SpinBox {
            minimumValue: -9999999
            maximumValue: 9999999
            decimals: 2
            backendValue: backendValues.%2_z
            implicitWidth: StudioTheme.Values.twoControlColumnWidth
                           + StudioTheme.Values.actionIndicatorWidth
        }

        Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }

        ControlLabel {
            text: "Z"
        }

        Spacer { implicitWidth: StudioTheme.Values.controlGap }

        SpinBox {
            minimumValue: -9999999
            maximumValue: 9999999
            decimals: 2
            backendValue: backendValues.%2_w
            implicitWidth: StudioTheme.Values.twoControlColumnWidth
                           + StudioTheme.Values.actionIndicatorWidth
        }

        Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }

        ControlLabel {
            text: "W"
        }

        ExpandingSpacer {}
    }
}
