From b71664fd5b55f8f5fa4940ff9a3560380b139f63 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Tue, 9 Jul 2024 14:48:47 +0200 Subject: [PATCH] fix ui contact edition --- Linphone/view/Layout/RightPanelLayout.qml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Linphone/view/Layout/RightPanelLayout.qml b/Linphone/view/Layout/RightPanelLayout.qml index 0524739f..9269475f 100644 --- a/Linphone/view/Layout/RightPanelLayout.qml +++ b/Linphone/view/Layout/RightPanelLayout.qml @@ -5,26 +5,24 @@ import QtQuick.Controls as Control import Linphone import UtilsCpp 1.0 -Item { +ColumnLayout { id: mainItem property color panelColor: DefaultStyle.grey_100 property alias headerContent: rightPanelHeader.children property alias content: rightPanelContent.children + spacing: 0 Rectangle { id: rightPanelHeader color: DefaultStyle.grey_0 - anchors.top: parent.top - anchors.left: parent.left - anchors.right: parent.right - height: 57 * DefaultStyle.dp + Layout.preferredHeight: 57 * DefaultStyle.dp + Layout.fillWidth: true + z: 1 } Rectangle { id: rightPanelContent color: mainItem.panelColor - anchors.top: rightPanelHeader.bottom - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom + Layout.fillWidth: true + Layout.fillHeight: true } } \ No newline at end of file