From fcdb3721c348b312d2ab53e41829ec756e149213 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Sat, 25 Jan 2020 16:15:15 +0100 Subject: [PATCH] [ui] Viewer: use flat combobox for better integration in the Viewer --- meshroom/ui/qml/Viewer/Viewer2D.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index 9cd4bdff..d83e6b27 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -253,7 +253,8 @@ FocusScope { // set min size to 5 characters + one margin for the combobox Layout.minimumWidth: 6.0 * Qt.application.font.pixelSize Layout.preferredWidth: Layout.minimumWidth - + flat: true + property var types: ["image", "depth", "sim"] property string type: types[currentIndex]