Fix placeholder text colour

It should use the same colour as the normal text, for now.

Contributes to issue CURA-4148.
This commit is contained in:
Ghostkeeper 2017-08-23 15:32:42 +02:00
parent b52446ed99
commit 078b9e8b66
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,7 @@ Item
style: TextFieldStyle style: TextFieldStyle
{ {
textColor: UM.Theme.getColor("setting_control_text"); textColor: UM.Theme.getColor("setting_control_text");
placeholderTextColor: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default"); font: UM.Theme.getFont("default");
background: Item {} background: Item {}
} }

View file

@ -736,6 +736,7 @@ QtObject {
property Component text_field: Component { property Component text_field: Component {
TextFieldStyle { TextFieldStyle {
textColor: Theme.getColor("setting_control_text"); textColor: Theme.getColor("setting_control_text");
placeholderTextColor: Theme.getColor("setting_control_text")
font: Theme.getFont("default"); font: Theme.getFont("default");
background: Rectangle background: Rectangle