diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-09 15:17:10 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-18 07:48:50 +0000 |
commit | dce8ba4cba56bfe3e31e42f93517570e47dc8896 (patch) | |
tree | 8ba970833abfc888ef327dc6e3ce20c15b9f2e48 | |
parent | 4fe0a6375bba7abfd60fda0a54d6a795735be1aa (diff) |
QuickNanoBrowser: Make FindBar visible in dark mode
Change-Id: Iec4f3db0a6dad1eb040e44b09bc0b0000714ecdb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 403b4df5a14856d146a7a8c065237c8f79634043)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 + } } } } |