make cuter

This commit is contained in:
Erica Z 2024-10-12 18:55:15 +00:00
parent 4713b2b902
commit 9ace252065

View file

@ -95,13 +95,12 @@ paintable: bind template.playing_cover_art;
} }
[bottom] [bottom]
Box { CenterBox {
orientation: horizontal;
styles [ styles [
"toolbar", "toolbar",
] ]
[start]
Box { Box {
orientation: vertical; orientation: vertical;
valign: center; valign: center;
@ -137,16 +136,11 @@ paintable: bind template.playing_cover_art;
} }
} }
Separator { [center]
styles [
"spacer",
]
hexpand: true;
}
Box { Box {
orientation: vertical; orientation: vertical;
halign: center;
hexpand: true;
Box { Box {
halign: center; halign: center;
@ -164,7 +158,7 @@ paintable: bind template.playing_cover_art;
Scale play_position { Scale play_position {
name: "seek-scale"; name: "seek-scale";
orientation: horizontal; orientation: horizontal;
width-request: 200; width-request: 400;
adjustment: Adjustment { adjustment: Adjustment {
lower: 0; lower: 0;
@ -222,28 +216,31 @@ paintable: bind template.playing_cover_art;
} }
} }
Button { [end]
icon-name: "non-starred"; Box {
valign: center; Button {
} icon-name: "non-starred";
valign: center;
}
Button { Button {
icon-name: bind $mute_button_icon_name (template.mute) as <string>; icon-name: bind $mute_button_icon_name (template.mute) as <string>;
valign: center; valign: center;
clicked => $on_mute_toggle (); clicked => $on_mute_toggle ();
} }
Scale { Scale {
name: "volume-scale"; name: "volume-scale";
orientation: horizontal; orientation: horizontal;
width-request: 130; width-request: 130;
adjustment: Adjustment { adjustment: Adjustment {
lower: 0.0; lower: 0.0;
value: bind template.volume bidirectional; value: bind template.volume bidirectional;
upper: 1.0; upper: 1.0;
}; };
}
} }
} }
}; };