change placeholder text in page-specific search fields

This commit is contained in:
Drew Weymouth
2023-11-05 15:16:20 -08:00
parent fd9ae477b6
commit 6acf65312b
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -68,6 +68,7 @@ func NewTracksPage(contr *controller.Controller, conf *backend.TracksPageConfig,
t.title.Segments[0].(*widget.TextSegment).Style.SizeName = widget.RichTextStyleHeading.SizeName
t.playRandom = widget.NewButtonWithIcon("Play random", theme.ShuffleIcon, t.playRandomSongs)
t.searcher = widgets.NewSearchEntry()
t.searcher.PlaceHolder = "Search page"
t.searcher.OnSearched = t.OnSearched
t.createContainer()
t.Reload()