Add wip program tiles

This commit is contained in:
Elias Projahn 2024-04-01 18:43:00 +02:00
parent 3dc601e0f0
commit 6d11ee9705
7 changed files with 255 additions and 22 deletions

32
data/ui/program_tile.blp Normal file
View file

@ -0,0 +1,32 @@
using Gtk 4.0;
template $MusicusProgramTile : Gtk.FlowBoxChild {
styles ["program", "card", "activatable"]
Gtk.Box {
orientation: vertical;
Gtk.Button edit_button {
styles ["flat", "circular"]
halign: end;
icon-name: "document-edit-symbolic";
}
Gtk.Label title_label {
styles ["title"]
halign: start;
margin-top: 24;
wrap: true;
max-width-chars: 0;
}
Gtk.Label description_label {
styles ["description"]
margin-top: 6;
halign: start;
wrap: true;
max-width-chars: 0;
}
}
}