Skip to content

Commit

Permalink
[ui] ImageGallery: fix layout issues in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Oct 15, 2020
1 parent ecc8cd4 commit 9476019
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meshroom/ui/qml/ImageGallery/ImageGallery.qml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ Panel {
footerContent: RowLayout {
// Images count
MaterialToolLabel {
Layout.minimumWidth: childrenRect.width
ToolTip.text: grid.model.count + " Input Images"
iconText: MaterialIcons.image
label: grid.model.count.toString()
Expand All @@ -353,6 +354,7 @@ Panel {
}
// cameras count
MaterialToolLabel {
Layout.minimumWidth: childrenRect.width
ToolTip.text: label + " Estimated Cameras"
iconText: MaterialIcons.videocam
label: _reconstruction ? _reconstruction.nbCameras.toString() : "0"
Expand All @@ -364,6 +366,7 @@ Panel {

MaterialToolLabelButton {
id: displayHDR
Layout.minimumWidth: childrenRect.width
property var activeNode: _reconstruction.activeNodes.get("LdrToHdrMerge").node
ToolTip.text: "Visualize HDR images: " + (activeNode ? activeNode.label : "No Node")
iconText: MaterialIcons.filter
Expand Down Expand Up @@ -405,6 +408,8 @@ Panel {

MaterialToolButton {
id: imageProcessing
Layout.minimumWidth: childrenRect.width

property var activeNode: _reconstruction.activeNodes.get("ImageProcessing").node
font.pointSize: 15
padding: 0
Expand Down Expand Up @@ -449,6 +454,8 @@ Panel {

// Thumbnail size icon and slider
MaterialToolButton {
Layout.minimumWidth: childrenRect.width

text: MaterialIcons.photo_size_select_large
ToolTip.text: "Thumbnails Scale"
padding: 0
Expand Down

0 comments on commit 9476019

Please sign in to comment.