[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
This commit is contained in:
Abdelrahman AL MAROUK 2023-08-18 10:56:22 +02:00
parent f31585093c
commit da671056bf

View file

@ -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 {