dth
                width: tickmarkLabelBoundsWidth
                height: barLength
                anchors.verticalCenter: parent.verticalCenter
                // We want our items to be laid out from bottom to top, but Column can't do that, so we flip
                // the whole item containing the tickmarks and labels vertically. Then, we flip each tickmark
                // and label back again.
                transform: Rotation {
                    axis.x: 1
                    axis.y: 0
                    axis.z: 0
                    origin.x: tickmarkLabelBounds.width / 2
                    origin.y: tickmarkLabelBounds.height / 2
                    angle: 180
                }

                Column {
                    id: tickmarkColumn
                    x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom ? 0 : tickmarkLabelBounds.width - width
                    spacing: tickmarkSpacing
                    anchors.verticalCenter: parent.verticalCenter

                    Repeater {
                        id: tickmarkRepeater
                        model: tickmarkCount
                        delegate: Loader {
                            id: tickmarkDelegateLoader

                            sourceComponent: gaugeStyle.tickmark
                            transform: Rotation {
                                axis.x: 1
                                axis.y: 0
                                axis.z: 0
                                origin.x: tickmarkDelegateLoader.width / 2
                                origin.y: tickmarkDelegateLoader.height / 2
                                angle: 180
                            }

                            onHeightChanged: {
                                if (index == 0)
                                    tickmarkWidth = height;
                            }

                            readonly property int __index: index
                         