mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			No EOL
		
	
	
		
			836 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			No EOL
		
	
	
		
			836 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| using Gtk 4.0;
 | |
| using Adw 1;
 | |
| 
 | |
| template $MusicusPlaylistTile : Gtk.Box {
 | |
|   styles ["playlisttile"]
 | |
| 
 | |
|   Adw.Bin {
 | |
|     valign: end;
 | |
|     margin-bottom: 12;
 | |
|     width-request: 48;
 | |
| 
 | |
|     Gtk.Image playing_icon {
 | |
|       visible: false;
 | |
|       icon-name: "media-playback-start-symbolic";
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   Gtk.Box {
 | |
|     margin-end: 12;
 | |
|     orientation: vertical;
 | |
|     
 | |
|     Gtk.Label title_label {
 | |
|       styles ["title"]
 | |
|       visible: false;
 | |
|       margin-top: 24;
 | |
|       halign: start;
 | |
|       wrap: true;
 | |
|     }
 | |
| 
 | |
|     Gtk.Label performances_label {
 | |
|       styles ["subtitle", "dim-label"]
 | |
|       visible: false;
 | |
|       halign: start;
 | |
|       wrap: true;
 | |
|     }
 | |
| 
 | |
|     Gtk.Label part_title_label {
 | |
|       styles ["parttitle"]
 | |
|       margin-top: 12;
 | |
|       margin-bottom: 12;
 | |
|       visible: false;
 | |
|       margin-start: 24;
 | |
|       halign: start;
 | |
|       wrap: true;
 | |
|     }
 | |
|   }
 | |
| } |