From 9a5829803eb868dc859190ad41faae0e675cfaf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Tue, 16 May 2023 11:17:32 -0400 Subject: [PATCH] ongoingcallpage: fix vertical layout Change-Id: I695b1c737c4bd08a8352176877f0ec2797a36c24 --- src/app/mainview/components/OngoingCallPage.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/mainview/components/OngoingCallPage.qml b/src/app/mainview/components/OngoingCallPage.qml index 76a7bb8cc..4564e904a 100644 --- a/src/app/mainview/components/OngoingCallPage.qml +++ b/src/app/mainview/components/OngoingCallPage.qml @@ -119,7 +119,7 @@ Rectangle { } } - JamiSplitView { + SplitView { id: mainColumnLayout anchors.fill: parent @@ -127,6 +127,12 @@ Rectangle { property bool isHorizontal: false // Calculated when showing the stack view orientation: isHorizontal ? Qt.Horizontal : Qt.Vertical + handle: Rectangle { + implicitWidth: isHorizontal ? JamiTheme.splitViewHandlePreferredWidth : root.width + implicitHeight: isHorizontal ? root.height : JamiTheme.splitViewHandlePreferredWidth + color: SplitHandle.pressed ? JamiTheme.pressColor : (SplitHandle.hovered ? JamiTheme.hoverColor : JamiTheme.tabbarBorderColor) + } + Rectangle { id: callPageMainRect -- GitLab