mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add scaffold for home page
This commit is contained in:
parent
8c56e90994
commit
3ef0fe960b
11 changed files with 266 additions and 1 deletions
39
data/res/tile.blp
Normal file
39
data/res/tile.blp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusTile : Gtk.FlowBoxChild {
|
||||
styles ["card", "activatable"]
|
||||
width-request: 200;
|
||||
|
||||
Gtk.Box {
|
||||
orientation: vertical;
|
||||
margin-start: 6;
|
||||
margin-end: 6;
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
|
||||
Gtk.Label title_label {
|
||||
styles ["caption-heading"]
|
||||
halign: start;
|
||||
label: _("Title");
|
||||
}
|
||||
|
||||
Gtk.Label subtitle_label {
|
||||
styles ["caption"]
|
||||
halign: start;
|
||||
label: _("Subtitle");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
menu item_menu {
|
||||
item {
|
||||
label: _("_Play");
|
||||
}
|
||||
item {
|
||||
label: _("_Edit");
|
||||
}
|
||||
item {
|
||||
label: _("_Delete");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue