make sure playbar center is centered

This commit is contained in:
Erica Z 2024-11-16 14:42:17 +01:00
parent ad675baa74
commit 1757e64961

View file

@ -21,7 +21,7 @@ template $AudreyUiPlaybar: Adw.Bin {
] ]
[start] [start]
Box { Box start {
AspectFrame { AspectFrame {
visible: false; // FIXME annoying annoying annoying annoying visible: false; // FIXME annoying annoying annoying annoying
// visible: bind template.show_cover_art; // visible: bind template.show_cover_art;
@ -156,7 +156,7 @@ template $AudreyUiPlaybar: Adw.Bin {
} }
[end] [end]
Box { Box end {
Button { Button {
icon-name: "heart-empty-symbolic"; // placeholder icon-name: "heart-empty-symbolic"; // placeholder
valign: center; valign: center;
@ -184,3 +184,9 @@ template $AudreyUiPlaybar: Adw.Bin {
}; };
}; };
} }
// make sure the middle is centered always
SizeGroup {
mode: horizontal;
widgets [start, end]
}