mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Add separate recording tile
This commit is contained in:
parent
a790d913af
commit
2143d6333b
11 changed files with 319 additions and 125 deletions
39
data/ui/recording_tile.blp
Normal file
39
data/ui/recording_tile.blp
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue