Verified Commit 230ae9af authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Improve search field

Summary: Adds a placeholder text and uses contentItem

Reviewers: #okular, #plasma:_mobile, ngraham, apol

Reviewed By: #plasma:_mobile, ngraham, apol

Subscribers: ognarb, ngraham, okular-devel

Tags: #okular

Differential Revision:
parent cff01c10
Pipeline #6264 passed with stage
in 11 minutes and 24 seconds
......@@ -28,10 +28,9 @@ ThumbnailsBase {
QQC2.ToolBar {
id: toolBarContent
width: root.width
height: searchField.height
QQC2.TextField {
contentItem: QQC2.TextField {
id: searchField
anchors.fill: parent
placeholderText: i18n("Search...")
enabled: documentItem ? documentItem.supportsSearching : false
onTextChanged: {
if (text.length > 2) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment