mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[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:
parent
f31585093c
commit
da671056bf
1 changed files with 1 additions and 3 deletions
|
@ -66,7 +66,6 @@ Item {
|
||||||
|
|
||||||
Controls1.SplitView {
|
Controls1.SplitView {
|
||||||
orientation: Qt.Vertical
|
orientation: Qt.Vertical
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
implicitWidth: Math.round(parent.width * 0.2)
|
implicitWidth: Math.round(parent.width * 0.2)
|
||||||
Layout.minimumWidth: imageGallery.defaultCellSize
|
Layout.minimumWidth: imageGallery.defaultCellSize
|
||||||
|
@ -182,7 +181,6 @@ Item {
|
||||||
Layout.minimumWidth: 20
|
Layout.minimumWidth: 20
|
||||||
Layout.minimumHeight: 80
|
Layout.minimumHeight: 80
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
|
||||||
implicitWidth: Math.round(parent.width * 0.45)
|
implicitWidth: Math.round(parent.width * 0.45)
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
@ -199,7 +197,7 @@ Item {
|
||||||
Panel {
|
Panel {
|
||||||
id: panel3dViewer
|
id: panel3dViewer
|
||||||
title: "3D Viewer"
|
title: "3D Viewer"
|
||||||
|
|
||||||
property alias viewer3D: c_viewer3D
|
property alias viewer3D: c_viewer3D
|
||||||
|
|
||||||
Controls1.SplitView {
|
Controls1.SplitView {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue