use centerbox for seekbar

This commit is contained in:
me 2024-10-13 08:05:18 +00:00
parent 7fedaae778
commit ff2b0ddad5

View file

@ -120,10 +120,8 @@ paintable: bind template.playing_cover_art;
halign: center;
hexpand: true;
Box {
halign: center;
orientation: horizontal;
CenterBox {
[start]
Label play_position_label {
styles [
"caption",
@ -133,6 +131,7 @@ paintable: bind template.playing_cover_art;
label: bind $format_timestamp (template.position) as <string>;
}
[center]
Scale play_position {
name: "seek-scale";
orientation: horizontal;
@ -147,6 +146,7 @@ paintable: bind template.playing_cover_art;
change-value => $on_play_position_seek ();
}
[end]
Label play_duration {
styles [
"caption",