diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-05-04 16:44:42 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-05-04 16:44:42 +0300 |
commit | eae5f4d57a1bff2b0c3135b5b76265f823891c83 (patch) | |
tree | 7a577b5b3aa5658ae9aa6543ec8d9fbadf536c1b /resources/qml | |
parent | 76672528ee2c6c9afbf541878a56d03cd9e53711 (diff) |
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.
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/Widgets/TextField.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/Widgets/TextField.qml b/resources/qml/Widgets/TextField.qml index 95d5caa4ef..d035883154 100644 --- a/resources/qml/Widgets/TextField.qml +++ b/resources/qml/Widgets/TextField.qml @@ -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 |