Index: sources/gui/qml/components/RangeRect.qml =================================================================== diff -u -r605815f54dfac948ada786080f55d1b6e7a0d47b -r9a0581274e4dc51af6d6f3e4dd932581e8dce445 --- sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 605815f54dfac948ada786080f55d1b6e7a0d47b) +++ sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 9a0581274e4dc51af6d6f3e4dd932581e8dce445) @@ -35,6 +35,9 @@ property alias minText : _textMinimum property alias maxText : _textMaximum + property bool minTextHorizontalCenter: false + property bool maxTextHorizontalCenter: false + property string unit : "" property real touchMargin: 0 @@ -58,6 +61,7 @@ left : parent.left top : parent.bottom topMargin : Variables.rangeRectTextMargin + leftMargin : minTextHorizontalCenter ? -minText.width / 2 : 0 } } @@ -74,6 +78,7 @@ right : parent.right top : parent.bottom topMargin : Variables.rangeRectTextMargin + rightMargin : maxTextHorizontalCenter ? -maxText.width / 2 : 0 } }