fix volume alignment based on song title
This commit is contained in:
parent
b4e84d2fa6
commit
4a5b4c055f
1 changed files with 8 additions and 0 deletions
|
@ -157,14 +157,21 @@ template $AudreyUiPlaybar: Adw.Bin {
|
||||||
|
|
||||||
[end]
|
[end]
|
||||||
Box end {
|
Box end {
|
||||||
|
Separator {
|
||||||
|
styles ["spacer"]
|
||||||
|
hexpand: true;
|
||||||
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
icon-name: "heart-empty-symbolic"; // placeholder
|
icon-name: "heart-empty-symbolic"; // placeholder
|
||||||
|
halign: end;
|
||||||
valign: center;
|
valign: center;
|
||||||
sensitive: bind template.idle-active inverted;
|
sensitive: bind template.idle-active inverted;
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
icon-name: bind $mute_button_icon_name(template.mute) as <string>;
|
icon-name: bind $mute_button_icon_name(template.mute) as <string>;
|
||||||
|
halign: end;
|
||||||
valign: center;
|
valign: center;
|
||||||
clicked => $on_mute_toggle() swapped;
|
clicked => $on_mute_toggle() swapped;
|
||||||
}
|
}
|
||||||
|
@ -173,6 +180,7 @@ template $AudreyUiPlaybar: Adw.Bin {
|
||||||
name: "volume-scale";
|
name: "volume-scale";
|
||||||
orientation: horizontal;
|
orientation: horizontal;
|
||||||
width-request: 130;
|
width-request: 130;
|
||||||
|
halign: end;
|
||||||
|
|
||||||
adjustment: Adjustment {
|
adjustment: Adjustment {
|
||||||
lower: 0;
|
lower: 0;
|
||||||
|
|
Loading…
Reference in a new issue