From da671056bf16b5cb7b3a6ea53a2615792c9ba24e Mon Sep 17 00:00:00 2001 From: Abdelrahman AL MAROUK Date: Fri, 18 Aug 2023 10:56:22 +0200 Subject: [PATCH] [UI] fix resize of horizontal splitview When dragging the border between 3D Viewer and 2D Viewer: - previous behaviour: the Image Gallery is resized instead of the 2D Viewer - new behaviour: the 2D Viewer is resized --- meshroom/ui/qml/WorkspaceView.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meshroom/ui/qml/WorkspaceView.qml b/meshroom/ui/qml/WorkspaceView.qml index 692053f7ed..24d948313c 100644 --- a/meshroom/ui/qml/WorkspaceView.qml +++ b/meshroom/ui/qml/WorkspaceView.qml @@ -66,7 +66,6 @@ Item { Controls1.SplitView { orientation: Qt.Vertical - Layout.fillWidth: true Layout.fillHeight: true implicitWidth: Math.round(parent.width * 0.2) Layout.minimumWidth: imageGallery.defaultCellSize @@ -182,7 +181,6 @@ Item { Layout.minimumWidth: 20 Layout.minimumHeight: 80 Layout.fillHeight: true - Layout.fillWidth: true implicitWidth: Math.round(parent.width * 0.45) Loader { @@ -199,7 +197,7 @@ Item { Panel { id: panel3dViewer title: "3D Viewer" - + property alias viewer3D: c_viewer3D Controls1.SplitView {