From eae5f4d57a1bff2b0c3135b5b76265f823891c83 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 4 May 2022 15:44:42 +0200 Subject: [PATCH] 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. --- resources/qml/Widgets/TextField.qml | 1 + 1 file changed, 1 insertion(+) 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