Index: sources/gui/qml/components/StepBullet.qml =================================================================== diff -u -rc0c63c4b149dafea2b02e4cd31f223e392ff7818 -rfa1b7c7d5ca98b991168bacc0bab1e9614ed39b6 --- sources/gui/qml/components/StepBullet.qml (.../StepBullet.qml) (revision c0c63c4b149dafea2b02e4cd31f223e392ff7818) +++ sources/gui/qml/components/StepBullet.qml (.../StepBullet.qml) (revision fa1b7c7d5ca98b991168bacc0bab1e9614ed39b6) @@ -27,12 +27,14 @@ */ Item { id: _root readonly property color color : _circle.border.color - + property bool currentComplete : false + property bool hideLabels : false property bool vertical : false property string text : "" property bool complete : false property bool current : false property color colorComplete : Colors.borderButton + property color colorCurrent : currentComplete ? colorComplete : Colors.transparent property color colorInComplete : Colors.borderDisableButton property int fontSizeCurrent : 18 property int fontSizeNormal : 14 @@ -43,7 +45,7 @@ readonly property string stateNameHorizontal : "horizontal" // must not have translation } - height : 35 + height : _circle.height + (_text.visible ? _text.height : 0) width : _private.diameter state : _root.vertical ? _private.stateNameVertical : _private.stateNameHorizontal @@ -56,12 +58,13 @@ height : _private.diameter width : _private.diameter radius : _private.diameter - color : _root.current ? Colors.transparent : _root.complete ? _root.colorComplete : Colors.transparent - border.color: _root.current ? colorComplete : _root.complete ? _root.colorComplete : _root.colorInComplete + color : _root.current ? colorCurrent : _root.complete ? _root.colorComplete : Colors.transparent + border.color: _root.current ? colorComplete : _root.complete ? _root.colorComplete : _root.colorInComplete border.width: 2 } Text { id: _text + visible: ! _root.hideLabels anchors.top : _circle.bottom anchors.horizontalCenter: _circle.horizontalCenter anchors.topMargin : 5