Add separate recording tile

This commit is contained in:
Elias Projahn 2023-10-08 16:40:59 +02:00
parent a790d913af
commit 2143d6333b
11 changed files with 319 additions and 125 deletions

View file

@ -0,0 +1,39 @@
using Gtk 4.0;
using Adw 1;
template $MusicusRecordingTile : Gtk.FlowBoxChild {
styles ["card", "activatable", "tile"]
Gtk.Box {
spacing: 12;
Gtk.Image {
icon-name: "media-playback-start-symbolic";
valign: start;
margin-top: 12;
}
Gtk.Box {
orientation: vertical;
hexpand: true;
Gtk.Label work_label {
styles ["work"]
halign: start;
wrap: true;
}
Gtk.Label composer_label {
styles ["composer"]
halign: start;
wrap: true;
}
Gtk.Label performances_label {
styles ["performances", "dim-label"]
halign: start;
wrap: true;
}
}
}
}