new play queue style
This commit is contained in:
parent
f240424774
commit
6a2b157c7d
1 changed files with 33 additions and 23 deletions
|
@ -37,6 +37,9 @@ template $UiPlayQueueSong: Box {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
hexpand: true;
|
hexpand: true;
|
||||||
|
|
||||||
|
Box {
|
||||||
|
orientation: vertical;
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
xalign: 0;
|
xalign: 0;
|
||||||
|
@ -48,14 +51,7 @@ template $UiPlayQueueSong: Box {
|
||||||
margin-start: 9;
|
margin-start: 9;
|
||||||
|
|
||||||
label: bind template.song as <$SubsonicSong>.title;
|
label: bind template.song as <$SubsonicSong>.title;
|
||||||
styles [ "title-label" ]
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Box artist_box {
|
|
||||||
visible: bind template.show_artist;
|
|
||||||
focusable: false;
|
|
||||||
hexpand: true;
|
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
|
@ -68,14 +64,25 @@ template $UiPlayQueueSong: Box {
|
||||||
margin-start: 9;
|
margin-start: 9;
|
||||||
|
|
||||||
label: bind template.song as <$SubsonicSong>.artist;
|
label: bind template.song as <$SubsonicSong>.artist;
|
||||||
|
|
||||||
|
styles [ "dim-label" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box artist_box {
|
||||||
|
visible: bind template.show_artist;
|
||||||
|
focusable: false;
|
||||||
|
hexpand: true;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Box album_duration_box {
|
Box album_duration_box {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
hexpand: true;
|
hexpand: true;
|
||||||
spacing: 6;
|
spacing: 6;
|
||||||
|
|
||||||
|
/*
|
||||||
Label {
|
Label {
|
||||||
visible: bind template.show_album;
|
visible: bind template.show_album;
|
||||||
focusable: false;
|
focusable: false;
|
||||||
|
@ -88,6 +95,7 @@ template $UiPlayQueueSong: Box {
|
||||||
|
|
||||||
label: bind template.song as <$SubsonicSong>.album;
|
label: bind template.song as <$SubsonicSong>.album;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
|
@ -135,10 +143,12 @@ template $UiPlayQueueSong: Box {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
SizeGroup {
|
SizeGroup {
|
||||||
mode: horizontal;
|
mode: horizontal;
|
||||||
widgets [title_box, artist_box, album_duration_box]
|
widgets [title_box, artist_box, album_duration_box]
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
menu song-menu {
|
menu song-menu {
|
||||||
item ("View song", "song.view")
|
item ("View song", "song.view")
|
||||||
|
|
Loading…
Reference in a new issue