From 1757e6496101f59ad383e933133b49cf98ed6cd9 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 16 Nov 2024 14:42:17 +0100 Subject: [PATCH] make sure playbar center is centered --- resources/playbar.blp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/playbar.blp b/resources/playbar.blp index 05e1507..94f56a1 100644 --- a/resources/playbar.blp +++ b/resources/playbar.blp @@ -21,7 +21,7 @@ template $AudreyUiPlaybar: Adw.Bin { ] [start] - Box { + Box start { AspectFrame { visible: false; // FIXME annoying annoying annoying annoying // visible: bind template.show_cover_art; @@ -156,7 +156,7 @@ template $AudreyUiPlaybar: Adw.Bin { } [end] - Box { + Box end { Button { icon-name: "heart-empty-symbolic"; // placeholder valign: center; @@ -184,3 +184,9 @@ template $AudreyUiPlaybar: Adw.Bin { }; }; } + +// make sure the middle is centered always +SizeGroup { + mode: horizontal; + widgets [start, end] +}