mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
36 lines
No EOL
564 B
Text
36 lines
No EOL
564 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $MusicusTile : Gtk.FlowBoxChild {
|
|
styles ["card", "activatable", "tile"]
|
|
|
|
Gtk.Box {
|
|
orientation: vertical;
|
|
valign: center;
|
|
|
|
Gtk.Label title_label {
|
|
styles ["title"]
|
|
halign: start;
|
|
label: _("Title");
|
|
}
|
|
|
|
Gtk.Label subtitle_label {
|
|
visible: false;
|
|
styles ["subtitle", "dim-label"]
|
|
halign: start;
|
|
label: _("Subtitle");
|
|
}
|
|
}
|
|
}
|
|
|
|
menu item_menu {
|
|
item {
|
|
label: _("_Play");
|
|
}
|
|
item {
|
|
label: _("_Edit");
|
|
}
|
|
item {
|
|
label: _("_Delete");
|
|
}
|
|
} |