From e1472ddf4222916ab0bf1fbe3068ed7973b1be37 Mon Sep 17 00:00:00 2001 From: me Date: Sat, 12 Oct 2024 18:13:22 +0000 Subject: [PATCH] make more pog --- src/window.blp | 63 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 22 deletions(-) diff --git a/src/window.blp b/src/window.blp index 043e252..7edc675 100644 --- a/src/window.blp +++ b/src/window.blp @@ -135,9 +135,21 @@ paintable: bind template.playing_cover_art; label: bind template.song as <$WaveletSong>.year; } } + } + + Separator { + styles [ + "spacer", + ] + + hexpand: true; + } + + Box { + orientation: vertical; Box { - halign: start; + halign: center; orientation: horizontal; Label play_position_label { @@ -171,35 +183,42 @@ paintable: bind template.playing_cover_art; label: bind $format_timestamp (template.playbin as <$Playbin>.duration) as ; } } - } - Separator { - styles [ - "spacer", - ] + Box { + halign: center; + orientation: horizontal; - hexpand: true; - } + Button { + icon-name: "media-skip-backward"; + valign: center; - Button { - icon-name: "media-skip-backward"; - valign: center; + clicked => $on_skip_backward_clicked (); + } - clicked => $on_skip_backward_clicked (); - } + Button { + icon-name: "media-seek-backward"; + valign: center; + } - Button { - icon-name: bind $play_button_icon_name (template.playing) as ; - valign: center; + Button { + icon-name: bind $play_button_icon_name (template.playing) as ; + valign: center; - clicked => $on_play_pause_clicked (); - } + clicked => $on_play_pause_clicked (); + } - Button { - icon-name: "media-skip-forward"; - valign: center; + Button { + icon-name: "media-seek-forward"; + valign: center; + } - clicked => $on_skip_forward_clicked (); + Button { + icon-name: "media-skip-forward"; + valign: center; + + clicked => $on_skip_forward_clicked (); + } + } } Button {