mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	editor: First changes for work editor
This commit is contained in:
		
							parent
							
								
									15ba043050
								
							
						
					
					
						commit
						55b344605b
					
				
					 19 changed files with 1291 additions and 19 deletions
				
			
		
							
								
								
									
										35
									
								
								data/ui/person_selector_popover.blp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								data/ui/person_selector_popover.blp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,35 @@ | |||
| using Gtk 4.0; | ||||
| using Adw 1; | ||||
| 
 | ||||
| template $MusicusPersonSelectorPopover: Gtk.Popover { | ||||
|   styles [ | ||||
|     "selector" | ||||
|   ] | ||||
| 
 | ||||
|   Adw.ToolbarView { | ||||
|     [top] | ||||
|     Gtk.SearchEntry search_entry { | ||||
|       placeholder-text: _("Search persons…"); | ||||
|       margin-start: 8; | ||||
|       margin-end: 8; | ||||
|       margin-top: 8; | ||||
|       margin-bottom: 6; | ||||
|       search-changed => $search_changed() swapped; | ||||
|       activate => $activate() swapped; | ||||
|       stop-search => $stop_search() swapped; | ||||
|     } | ||||
| 
 | ||||
|     Gtk.ScrolledWindow scrolled_window { | ||||
|       height-request: 200; | ||||
| 
 | ||||
|       Gtk.ListBox list_box { | ||||
|         styles [ | ||||
|           "selector-list" | ||||
|         ] | ||||
| 
 | ||||
|         selection-mode: none; | ||||
|         activate-on-single-click: true; | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue