Index: sources/gui/qml/components/MuteButton.qml =================================================================== diff -u -ra5760947d3ed0d2748ba023a1c25e3c6aa0b1de1 -r21041955990385205ec1aca17ef51fc1fd9a4b29 --- sources/gui/qml/components/MuteButton.qml (.../MuteButton.qml) (revision a5760947d3ed0d2748ba023a1c25e3c6aa0b1de1) +++ sources/gui/qml/components/MuteButton.qml (.../MuteButton.qml) (revision 21041955990385205ec1aca17ef51fc1fd9a4b29) @@ -25,36 +25,38 @@ height: 45 width : isSilenced ? 120 : height + radius : height - backgroundColor: Colors.transparent - borderColor: Colors.white - touchExpanding: 25 - Row { - anchors.fill: _root - leftPadding: 10 - spacing: 5 - Image { id: _image - anchors.verticalCenter: parent.verticalCenter - height : Variables.iconsDiameter - width : Variables.iconsDiameter - source : _root.isSilenced ? "qrc:/images/iBellOff" : "qrc:/images/iBellOn" + borderColor : Colors.transparent + backgroundColor : Colors.transparent + touchExpanding : 25 + + TimeText { id: _timeoutText + anchors { + right : _image.left + rightMargin : Variables.defaultMargin + verticalCenter : _root.verticalCenter } - TimeText { id: _timeoutText - // texts are working with thir base line and not the dimetion - // needs to be adjusted and cannot just be set to verticalCenter - anchors.top: parent.top - anchors.topMargin: 4 + textPixelSize : 30 + textWeight : Font.Normal + // the TimeText component works with hour and minute mainly + // so changing the seconds to minuts was easier than changing the component + seconds : _root.timeout * 60 + secondsVisible : false + hourZero : false + minuteZero : true + visible : _root.isSilenced + } - textPixelSize : 30 - textWeight : Font.Normal - // the TimeText component works with hour and minute mainly - // so changing the seconds to minuts was easier than changing the component - seconds : _root.timeout * 60 - secondsVisible : false - hourZero : false - minuteZero : true - visible : _root.isSilenced + Image { id: _image + anchors { + right : _root.right + verticalCenter : _root.verticalCenter } + + height : Variables.muteIconDiameter + width : Variables.muteIconDiameter + source : _root.isSilenced ? "qrc:/images/iBellOff" : "qrc:/images/iBellOn" } }