mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] Fix color for MaterialToolLabel
The name of the property used to set the color was ambiguous, causing the colors to not be applied at all.
This commit is contained in:
parent
66e3dd409d
commit
05a742a221
3 changed files with 7 additions and 4 deletions
|
@ -120,7 +120,7 @@ Item {
|
|||
iconText: MaterialIcons.loop
|
||||
label: (root.iteration + 1) + "/" + root.loopSize + " "
|
||||
|
||||
color: palette.base
|
||||
labelIconColor: palette.base
|
||||
ToolTip.text: "Foreach Loop"
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ Item {
|
|||
property alias iconText: iconItem.text
|
||||
property alias iconSize: iconItem.font.pointSize
|
||||
property alias label: labelItem.text
|
||||
property var color: palette.text
|
||||
property var labelIconColor: palette.text
|
||||
implicitWidth: childrenRect.width
|
||||
implicitHeight: childrenRect.height
|
||||
anchors.rightMargin: 5
|
||||
|
@ -24,12 +24,12 @@ Item {
|
|||
font.pointSize: 13
|
||||
padding: 0
|
||||
text: ""
|
||||
color: color
|
||||
color: labelIconColor
|
||||
}
|
||||
Label {
|
||||
id: labelItem
|
||||
text: ""
|
||||
color: color
|
||||
color: labelIconColor
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -252,6 +252,7 @@ FloatingPane {
|
|||
return 0
|
||||
|
||||
}
|
||||
labelIconColor: palette.text
|
||||
ToolTip.text: "Number Of Cameras In Current Resection Group"
|
||||
visible: Viewer3DSettings.displayResectionIds
|
||||
}
|
||||
|
@ -269,6 +270,7 @@ FloatingPane {
|
|||
|
||||
return currentCameras
|
||||
}
|
||||
labelIconColor: palette.text
|
||||
ToolTip.text: "Number Of Cumulated Cameras"
|
||||
visible: Viewer3DSettings.displayResectionIds
|
||||
}
|
||||
|
@ -285,6 +287,7 @@ FloatingPane {
|
|||
|
||||
return totalCameras
|
||||
}
|
||||
labelIconColor: palette.text
|
||||
ToolTip.text: "Total Number Of Cameras"
|
||||
visible: Viewer3DSettings.displayResectionIds
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue