make more pog

This commit is contained in:
me 2024-10-12 18:13:22 +00:00
parent c2fba5ad4b
commit e1472ddf42

View file

@ -135,9 +135,21 @@ paintable: bind template.playing_cover_art;
label: bind template.song as <$WaveletSong>.year; label: bind template.song as <$WaveletSong>.year;
} }
} }
}
Separator {
styles [
"spacer",
]
hexpand: true;
}
Box {
orientation: vertical;
Box { Box {
halign: start; halign: center;
orientation: horizontal; orientation: horizontal;
Label play_position_label { Label play_position_label {
@ -171,35 +183,42 @@ paintable: bind template.playing_cover_art;
label: bind $format_timestamp (template.playbin as <$Playbin>.duration) as <string>; label: bind $format_timestamp (template.playbin as <$Playbin>.duration) as <string>;
} }
} }
}
Separator { Box {
styles [ halign: center;
"spacer", orientation: horizontal;
]
hexpand: true; Button {
} icon-name: "media-skip-backward";
valign: center;
Button { clicked => $on_skip_backward_clicked ();
icon-name: "media-skip-backward"; }
valign: center;
clicked => $on_skip_backward_clicked (); Button {
} icon-name: "media-seek-backward";
valign: center;
}
Button { Button {
icon-name: bind $play_button_icon_name (template.playing) as <string>; icon-name: bind $play_button_icon_name (template.playing) as <string>;
valign: center; valign: center;
clicked => $on_play_pause_clicked (); clicked => $on_play_pause_clicked ();
} }
Button { Button {
icon-name: "media-skip-forward"; icon-name: "media-seek-forward";
valign: center; valign: center;
}
clicked => $on_skip_forward_clicked (); Button {
icon-name: "media-skip-forward";
valign: center;
clicked => $on_skip_forward_clicked ();
}
}
} }
Button { Button {