diff --git a/plugins/LayerView/LayerView.qml b/plugins/LayerView/LayerView.qml index 0453e3468e..5652637c99 100755 --- a/plugins/LayerView/LayerView.qml +++ b/plugins/LayerView/LayerView.qml @@ -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") } } diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index 51e6501d29..a7c7dcb6cd 100755 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -632,13 +632,6 @@ QtObject { } } - property Component text: Component { - TextFieldStyle { - textColor: Theme.getColor("text"); - font: Theme.getFont("default"); - } - } - property Component sidebar_action_button: Component { ButtonStyle {