From ff2b0ddad584dd839c40d36596e9a16044d40acf Mon Sep 17 00:00:00 2001 From: me Date: Sun, 13 Oct 2024 08:05:18 +0000 Subject: [PATCH] use centerbox for seekbar --- src/window.blp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window.blp b/src/window.blp index e004fb2..24a33f0 100644 --- a/src/window.blp +++ b/src/window.blp @@ -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 ; } + [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",