mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Add custom search bar with tags
This commit is contained in:
parent
00bd7027a6
commit
08be3cb613
9 changed files with 283 additions and 16 deletions
|
|
@ -21,13 +21,8 @@ template $MusicusHomePage : Adw.NavigationPage {
|
|||
maximum-size: 1000;
|
||||
tightening-threshold: 600;
|
||||
|
||||
Adw.Bin {
|
||||
styles ["searchbar"]
|
||||
|
||||
Gtk.SearchEntry search_entry {
|
||||
placeholder-text: _("Enter composers, performers, works…");
|
||||
search-changed => $search() swapped;
|
||||
}
|
||||
$MusicusSearchEntry search_entry {
|
||||
activate => $select() swapped;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue