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