mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +02:00
[ui] Usage of Colors palette
Use of Colors palette instead of Qt palette because doesn't work by now for disabled elements (until Qt6).
This commit is contained in:
parent
1b55dc8649
commit
8d0dc4d62e
2 changed files with 3 additions and 3 deletions
|
@ -201,7 +201,7 @@ RowLayout {
|
|||
anchors.right: attribute && attribute.isOutput ? parent.right : undefined
|
||||
rightPadding: 0
|
||||
color: {
|
||||
if (object.hasOutputConnections && !object.enabled) return "grey"
|
||||
if (object.hasOutputConnections && !object.enabled) return Colors.lightgrey
|
||||
return hovered ? palette.highlight : palette.text
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue