mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Improve playlist page design
This commit is contained in:
parent
b9c874ab8c
commit
09bedc892b
6 changed files with 56 additions and 37 deletions
|
|
@ -6,7 +6,7 @@ template $MusicusPlaylistTile : Gtk.Box {
|
|||
|
||||
Adw.Bin {
|
||||
valign: end;
|
||||
margin-bottom: 12;
|
||||
margin-bottom: 14;
|
||||
width-request: 48;
|
||||
|
||||
Gtk.Image playing_icon {
|
||||
|
|
@ -19,29 +19,38 @@ template $MusicusPlaylistTile : Gtk.Box {
|
|||
margin-end: 12;
|
||||
orientation: vertical;
|
||||
|
||||
Gtk.Label title_label {
|
||||
styles ["title"]
|
||||
visible: false;
|
||||
margin-top: 24;
|
||||
halign: start;
|
||||
Gtk.Label composers_label {
|
||||
styles ["title-4"]
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
visible: false;
|
||||
margin-top: 32;
|
||||
}
|
||||
|
||||
Gtk.Label work_label {
|
||||
styles ["title-2"]
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
visible: false;
|
||||
margin-top: 32;
|
||||
margin-bottom: 12;
|
||||
}
|
||||
|
||||
Gtk.Label performances_label {
|
||||
styles ["subtitle", "dim-label"]
|
||||
visible: false;
|
||||
halign: start;
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
visible: false;
|
||||
margin-bottom: 12;
|
||||
}
|
||||
|
||||
Gtk.Label part_title_label {
|
||||
styles ["parttitle"]
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
margin-top: 12;
|
||||
margin-bottom: 12;
|
||||
visible: false;
|
||||
margin-start: 24;
|
||||
halign: start;
|
||||
wrap: true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue