Index: sources/gui/qml/components/RangeRect.qml =================================================================== diff -u -r9419d09af625fa3b1291da079df2df0589358ff6 -r2f0b2e204b42597e08be24df48a3b3d470b73051 --- sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 9419d09af625fa3b1291da079df2df0589358ff6) +++ sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 2f0b2e204b42597e08be24df48a3b3d470b73051) @@ -43,6 +43,8 @@ property real touchMargin : 0 property real leftRightTouchMargin: 0 + property bool isRoundedEnds : true + property bool hasBorder : true function adjustOverlap() { // Due to font size not being fixed and be different depending on text, @@ -65,8 +67,11 @@ height : parent.height color : Colors.backgroundRangeRect - radius : Variables.rangeRectRadius + radius : isRoundedEnds ? (height/2) : Variables.rangeRectRadius + border.width: hasBorder ? Variables.rangeRectBorderWidth : 0 + border.color: Colors.rangeRectBorderColor + Text { id: _textMinimum visible : false font.pixelSize : Fonts.fontPixelRangeRectText