[ui] Viewer: use flat combobox for better integration in the Viewer

This commit is contained in:
Fabien Castan 2020-01-25 16:15:15 +01:00
parent 9c70ce5693
commit fcdb3721c3

View file

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