diff --git a/Linphone/view/Layout/Contact/ContactLayout.qml b/Linphone/view/Layout/Contact/ContactLayout.qml index aa091ad37..5d11a5976 100644 --- a/Linphone/view/Layout/Contact/ContactLayout.qml +++ b/Linphone/view/Layout/Contact/ContactLayout.qml @@ -119,9 +119,10 @@ ColumnLayout { // connection status } } - Item { + RowLayout { Layout.alignment: Qt.AlignHCenter - Layout.preferredWidth: mainItem.implicitWidth + spacing: 72 * DefaultStyle.dp + Layout.fillWidth: true Layout.preferredHeight: childrenRect.height Button { visible: mainItem.isConference @@ -140,7 +141,6 @@ ColumnLayout { } LabelButton { visible: !mainItem.isConference - anchors.left: parent.left width: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp @@ -153,7 +153,6 @@ ColumnLayout { } LabelButton { visible: !mainItem.isConference - anchors.horizontalCenter: parent.horizontalCenter width: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp @@ -164,7 +163,6 @@ ColumnLayout { } LabelButton { visible: !mainItem.isConference - anchors.right: parent.right width: 56 * DefaultStyle.dp height: 56 * DefaultStyle.dp button.icon.width: 24 * DefaultStyle.dp diff --git a/Linphone/view/Page/Main/ContactPage.qml b/Linphone/view/Page/Main/ContactPage.qml index a67e8f39c..229810bd4 100644 --- a/Linphone/view/Page/Main/ContactPage.qml +++ b/Linphone/view/Page/Main/ContactPage.qml @@ -388,8 +388,8 @@ AbstractMainPage { RoundedBackgroundControl { visible: companyText.text.length != 0 || jobText.text.length != 0 Layout.fillWidth: true - topPadding: 12 * DefaultStyle.dp - bottomPadding: 12 * DefaultStyle.dp + topPadding: 17 * DefaultStyle.dp + bottomPadding: 17 * DefaultStyle.dp leftPadding: 20 * DefaultStyle.dp rightPadding: 20 * DefaultStyle.dp // Layout.fillHeight: true