From 403b4df5a14856d146a7a8c065237c8f79634043 Mon Sep 17 00:00:00 2001 From: Peter Varga Date: Tue, 9 May 2023 15:17:10 +0200 Subject: QuickNanoBrowser: Make FindBar visible in dark mode Pick-to: 6.5 Change-Id: Iec4f3db0a6dad1eb040e44b09bc0b0000714ecdb Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Anu Aliyas --- examples/webenginequick/quicknanobrowser/FindBar.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'examples') diff --git a/examples/webenginequick/quicknanobrowser/FindBar.qml b/examples/webenginequick/quicknanobrowser/FindBar.qml index de73f88cd..409d8dcff 100644 --- a/examples/webenginequick/quicknanobrowser/FindBar.qml +++ b/examples/webenginequick/quicknanobrowser/FindBar.qml @@ -51,6 +51,7 @@ Rectangle { TextField { id: findTextField anchors.fill: parent + color: "black" background: Rectangle { color: "transparent" } @@ -64,6 +65,7 @@ Rectangle { Label { text: activeMatch + "/" + numberOfMatches visible: findTextField.text != "" + color: "black" } Rectangle { @@ -79,17 +81,29 @@ Rectangle { text: "<" enabled: numberOfMatches > 0 onClicked: root.findPrevious() + contentItem: Text { + color: "black" + text: parent.text + } } ToolButton { text: ">" enabled: numberOfMatches > 0 onClicked: root.findNext() + contentItem: Text { + color: "black" + text: parent.text + } } ToolButton { text: "x" onClicked: root.visible = false + contentItem: Text { + color: "black" + text: parent.text + } } } } -- cgit v1.2.1