[ui] widgets visibility options

This commit is contained in:
Fabien Castan 2021-10-05 17:45:15 +02:00
parent 1c66c6d9ab
commit 0f95188962
2 changed files with 21 additions and 0 deletions

View file

@ -57,7 +57,9 @@ Item {
Controls1.SplitView {
orientation: Qt.Vertical
Layout.fillWidth: true
Layout.fillHeight: true
implicitWidth: Math.round(parent.width * 0.2)
Layout.minimumWidth: imageGallery.defaultCellSize
ImageGallery {
@ -80,6 +82,8 @@ Item {
}
Panel {
title: "Image Viewer"
visible: settings_UILayout.showImageViewer
implicitWidth: Math.round(parent.width * 0.35)
Layout.fillHeight: true
Layout.fillWidth: true
Layout.minimumWidth: 50
@ -161,9 +165,12 @@ Item {
Panel {
title: "3D Viewer"
visible: settings_UILayout.showViewer3D
implicitWidth: Math.round(parent.width * 0.45)
Layout.minimumWidth: 20
Layout.minimumHeight: 80
Layout.fillHeight: true
Layout.fillWidth: true
Controls1.SplitView {
anchors.fill: parent