diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2022-03-25 07:58:53 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2022-04-06 14:16:53 +0200 |
commit | 12f61c690f3d309e2357a1bae22709dae26c87c8 (patch) | |
tree | 80f36405a14dbaaa13c51d7efeee25ec24e833a1 /examples/webengine/customdialogs/forms | |
parent | dcdf9656f794e1903163a5533d0a325eb3dce423 (diff) |
CustomDialogs: Make custom input fields readable in dark mode
Also set hidden characters for custom password field.
Change-Id: I8512a6a4215035e21a66aa5564aeb3ba886a900b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 344cc49f3a7ea64376eb085e1203029a3fa4ba6f)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples/webengine/customdialogs/forms')
-rw-r--r-- | examples/webengine/customdialogs/forms/AuthenticationForm.ui.qml | 3 | ||||
-rw-r--r-- | examples/webengine/customdialogs/forms/JavaScriptForm.ui.qml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/webengine/customdialogs/forms/AuthenticationForm.ui.qml b/examples/webengine/customdialogs/forms/AuthenticationForm.ui.qml index 8b8523388..ecbe8d3af 100644 --- a/examples/webengine/customdialogs/forms/AuthenticationForm.ui.qml +++ b/examples/webengine/customdialogs/forms/AuthenticationForm.ui.qml @@ -122,6 +122,7 @@ Item { height: 22 Layout.fillWidth: true font.pointSize: 12 + textColor: "black" } Text { @@ -136,6 +137,8 @@ Item { height: 26 Layout.fillWidth: true font.pointSize: 12 + textColor: "black" + echoMode: TextInput.Password } Item { diff --git a/examples/webengine/customdialogs/forms/JavaScriptForm.ui.qml b/examples/webengine/customdialogs/forms/JavaScriptForm.ui.qml index 1c7fd29ed..7dad1090a 100644 --- a/examples/webengine/customdialogs/forms/JavaScriptForm.ui.qml +++ b/examples/webengine/customdialogs/forms/JavaScriptForm.ui.qml @@ -124,6 +124,7 @@ Item { height: 22 Layout.fillWidth: true font.pointSize: 12 + textColor: "black" } Item { |