From 6f2e1af53a1e6bf4e7bc5ce8aeee15d0b207694f Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Wed, 16 Oct 2024 16:28:45 +0200 Subject: [PATCH] #LINQT-1350 : Remove external window corner --- .../view/Control/Container/VerticalTabBar.qml | 3 +-- Linphone/view/Page/Layout/Main/MainLayout.qml | 23 ------------------- Linphone/view/Page/Window/Main/MainWindow.qml | 2 +- 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/Linphone/view/Control/Container/VerticalTabBar.qml b/Linphone/view/Control/Container/VerticalTabBar.qml index 265341fa6..ae2ea54af 100644 --- a/Linphone/view/Control/Container/VerticalTabBar.qml +++ b/Linphone/view/Control/Container/VerticalTabBar.qml @@ -80,9 +80,8 @@ Control.TabBar { } Rectangle { color: DefaultStyle.main1_500_main - x: parent.x + parent.width/2 y: parent.y + parent.height/2 - width: parent.width/2 + width: parent.width height: parent.height/2 } } diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index 7ab602a6b..3e124ccc9 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -104,29 +104,6 @@ Item { } } anchors.fill: parent - ColumnLayout{ - anchors.fill: parent - spacing: 0 - Rectangle{ - Layout.fillWidth: true - Layout.fillHeight: true - color: DefaultStyle.grey_0 - } - RowLayout{ - Layout.fillWidth: true - Layout.preferredHeight: tabbar.cornerRadius - spacing: 0 - Item{// Transparent corner - Layout.fillHeight: true - Layout.preferredWidth: tabbar.cornerRadius - } - Rectangle{ - Layout.fillWidth: true - Layout.fillHeight: true - color: DefaultStyle.grey_0 - } - } - } RowLayout { anchors.fill: parent diff --git a/Linphone/view/Page/Window/Main/MainWindow.qml b/Linphone/view/Page/Window/Main/MainWindow.qml index bc50e4b9f..ebdf1aa1d 100644 --- a/Linphone/view/Page/Window/Main/MainWindow.qml +++ b/Linphone/view/Page/Window/Main/MainWindow.qml @@ -14,7 +14,7 @@ AbstractWindow { // TODO : handle this bool when security mode is implemented property bool firstConnection: true - color: "transparent" + color: DefaultStyle.grey_0 signal callCreated()