mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[ImageGallery] Use palette's colors for the text of the intrinsics display
This commit is contained in:
parent
f1a83628a6
commit
7c9a869d99
2 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue