mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Apply color to layerview legend labels directly
The Label style property should not be confused with e TextField style property
This commit is contained in:
parent
2493bd6fe6
commit
0b9f451103
2 changed files with 4 additions and 11 deletions
|
@ -58,7 +58,7 @@ Item
|
|||
anchors.left: parent.left
|
||||
text: catalog.i18nc("@label","View Mode: Layers")
|
||||
font.bold: true
|
||||
style: UM.Theme.styles.text
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
Label
|
||||
|
@ -76,7 +76,7 @@ Item
|
|||
text: catalog.i18nc("@label","Color scheme")
|
||||
visible: !UM.LayerView.compatibilityMode
|
||||
Layout.fillWidth: true
|
||||
style: UM.Theme.styles.text
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
ListModel // matches LayerView.py
|
||||
|
@ -307,7 +307,7 @@ Item
|
|||
Layout.preferredHeight: UM.Theme.getSize("layerview_row").height
|
||||
Layout.preferredWidth: UM.Theme.getSize("layerview_row").width
|
||||
visible: view_settings.show_legend
|
||||
style: UM.Theme.styles.text
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
Label
|
||||
|
@ -330,7 +330,7 @@ Item
|
|||
Layout.preferredHeight: UM.Theme.getSize("layerview_row").height
|
||||
Layout.preferredWidth: UM.Theme.getSize("layerview_row").width
|
||||
visible: view_settings.show_legend
|
||||
style: UM.Theme.styles.text
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue