diff --git a/linphone-desktop/ui/views/App/Calls/Incall.qml b/linphone-desktop/ui/views/App/Calls/Incall.qml index cc91c9da6..d4c0bdc4f 100644 --- a/linphone-desktop/ui/views/App/Calls/Incall.qml +++ b/linphone-desktop/ui/views/App/Calls/Incall.qml @@ -62,6 +62,25 @@ Rectangle { Layout.rightMargin: CallStyle.header.rightMargin Layout.preferredHeight: CallStyle.header.contactDescription.height + Text { + id: elapsedTime + + anchors.bottom: parent.bottom + color: CallStyle.header.elapsedTime.color + font.pointSize: CallStyle.header.elapsedTime.pointSize + horizontalAlignment: Text.AlignHCenter + width: parent.width + + Timer { + interval: 1000 + repeat: true + running: true + triggeredOnStart: true + + onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration) + } + } + ActionBar { id: leftActions @@ -121,7 +140,7 @@ Rectangle { anchors.centerIn: parent horizontalTextAlignment: Text.AlignHCenter - sipAddress: _sipAddressObserver.sipAddress + sipAddress: '' username: LinphoneUtils.getContactUsername(_sipAddressObserver.contact || sipAddress) height: parent.height @@ -167,24 +186,6 @@ Rectangle { } } - Text { - id: elapsedTime - - Layout.fillWidth: true - color: CallStyle.header.elapsedTime.color - font.pointSize: CallStyle.header.elapsedTime.pointSize - horizontalAlignment: Text.AlignHCenter - - Timer { - interval: 1000 - repeat: true - running: true - triggeredOnStart: true - - onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration) - } - } - // ------------------------------------------------------------------------- // Contact visual. // ------------------------------------------------------------------------- diff --git a/linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml b/linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml index f7afe5a7e..6b3ffa2f1 100644 --- a/linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml +++ b/linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml @@ -32,7 +32,7 @@ QtObject { } property QtObject container: QtObject { - property int margins: 20 + property int margins: 15 property QtObject avatar: QtObject { property color backgroundColor: Colors.w @@ -63,7 +63,7 @@ QtObject { } property QtObject contactDescription: QtObject { - property int height: 60 + property int height: 50 property int width: 150 }