Set colour of placeholder text from theme

Otherwise it defaults to black which is not readable in dark mode.

Done as a 5 minute fix.
This commit is contained in:
Ghostkeeper 2022-05-04 15:44:42 +02:00
parent 76672528ee
commit eae5f4d57a
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -24,6 +24,7 @@ TextField
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text_field_text")
selectedTextColor: UM.Theme.getColor("text_field_text")
placeholderTextColor: UM.Theme.getColor("text_field_text_disabled")
renderType: Text.NativeRendering
selectionColor: UM.Theme.getColor("text_selection")
leftPadding: iconLeft.visible ? iconLeft.width + UM.Theme.getSize("default_margin").width * 2 : UM.Theme.getSize("thin_margin").width