diff --git a/meshroom/ui/qml/ImageGallery/ImageGallery.qml b/meshroom/ui/qml/ImageGallery/ImageGallery.qml index 763ec241..5510b9bb 100644 --- a/meshroom/ui/qml/ImageGallery/ImageGallery.qml +++ b/meshroom/ui/qml/ImageGallery/ImageGallery.qml @@ -557,8 +557,10 @@ Panel { anchors.fill: parent boundsMovement : Flickable.StopAtBounds - //Provide width for column - //Note no size provided for the last column (bool comp) so it uses its automated size + palette: root.palette + + // Provide width for column + // Note no size provided for the last column (bool comp) so it uses its automated size columnWidthProvider: function (column) { return intrinsicModel.columnWidths[column] } model: intrinsicModel diff --git a/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml b/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml index 0aeecdae..5c070372 100644 --- a/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml +++ b/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml @@ -67,12 +67,12 @@ RowLayout { width: intrinsicModel.columnWidths[columnIndex] horizontalAlignment: TextInput.AlignRight readOnly: root.readOnly - color: 'white' + color: palette.text padding: 12 selectByMouse: true - selectionColor: 'white' + selectionColor: palette.text selectedTextColor: Qt.darker(palette.window, 1.1) onEditingFinished: _reconstruction.setAttribute(attribute, text) @@ -93,13 +93,13 @@ RowLayout { text: model.display.value width: intrinsicModel.columnWidths[columnIndex] horizontalAlignment: TextInput.AlignRight - color: 'white' + color: palette.text readOnly: root.readOnly padding: 12 selectByMouse: true - selectionColor: 'white' + selectionColor: palette.text selectedTextColor: Qt.darker(palette.window, 1.1) IntValidator { @@ -164,11 +164,11 @@ RowLayout { width: intrinsicModel.columnWidths[columnIndex] horizontalAlignment: TextInput.AlignRight - color: 'white' + color: palette.text padding: 12 selectByMouse: true - selectionColor: 'white' + selectionColor: palette.text selectedTextColor: Qt.darker(palette.window, 1.1) readOnly: root.readOnly