LayerView: Set color for comp. mode text

Before it was using the system's default, which is not that nicely visible, if you are using a dark theme.
This commit is contained in:
Thomas Karl Pietrowski 2017-07-25 09:35:42 +02:00 committed by GitHub
parent 24f89e3714
commit fe3bccaf5f

View file

@ -142,6 +142,7 @@ Item
id: compatibilityModeLabel id: compatibilityModeLabel
anchors.left: parent.left anchors.left: parent.left
text: catalog.i18nc("@label","Compatibility Mode") text: catalog.i18nc("@label","Compatibility Mode")
color: UM.Theme.getColor("text")
visible: UM.LayerView.compatibilityMode visible: UM.LayerView.compatibilityMode
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: UM.Theme.getSize("layerview_row").height Layout.preferredHeight: UM.Theme.getSize("layerview_row").height