mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add wip program tiles
This commit is contained in:
parent
3dc601e0f0
commit
6d11ee9705
7 changed files with 255 additions and 22 deletions
32
data/ui/program_tile.blp
Normal file
32
data/ui/program_tile.blp
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue