diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-09 15:17:10 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-17 18:44:41 +0200 |
commit | 403b4df5a14856d146a7a8c065237c8f79634043 (patch) | |
tree | 7204afe8f5360d0708bcf7776661c9cb82ceda97 /examples | |
parent | 107447f59348513e4eed6d8ba2e56c2100a46f6f (diff) |
QuickNanoBrowser: Make FindBar visible in dark mode
Pick-to: 6.5
Change-Id: Iec4f3db0a6dad1eb040e44b09bc0b0000714ecdb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/webenginequick/quicknanobrowser/FindBar.qml | 14 |
1 files changed, 14 insertions, 0 deletions
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 + } } } } |