mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Show albums on home screen
This commit is contained in:
parent
3ab0332475
commit
38613c0063
7 changed files with 172 additions and 3 deletions
25
data/ui/album_tile.blp
Normal file
25
data/ui/album_tile.blp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusAlbumTile: Gtk.FlowBoxChild {
|
||||
styles [
|
||||
"card",
|
||||
"activatable",
|
||||
"tile"
|
||||
]
|
||||
|
||||
Gtk.Box {
|
||||
valign: center;
|
||||
|
||||
Gtk.Label title_label {
|
||||
styles [
|
||||
"title"
|
||||
]
|
||||
|
||||
valign: center;
|
||||
halign: start;
|
||||
lines: 1;
|
||||
ellipsize: end;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue