fix playbar title sizing

This commit is contained in:
Erica Z 2024-11-25 23:04:28 +01:00
parent 265363db54
commit a249a00120

View file

@ -46,9 +46,10 @@ template $AudreyUiPlaybar: Adw.Bin {
] ]
xalign: 0; xalign: 0;
halign: start;
label: bind $song_title(template.song) as <string>; label: bind $song_title(template.song) as <string>;
ellipsize: end; ellipsize: end;
max-width-chars: 1;
hexpand: true;
} }
Label { Label {
@ -59,6 +60,8 @@ template $AudreyUiPlaybar: Adw.Bin {
xalign: 0; xalign: 0;
label: bind $song_artist(template.song) as <string>; label: bind $song_artist(template.song) as <string>;
ellipsize: end; ellipsize: end;
max-width-chars: 1;
hexpand: true;
} }
Label { Label {
@ -69,6 +72,8 @@ template $AudreyUiPlaybar: Adw.Bin {
xalign: 0; xalign: 0;
label: bind $song_album(template.song) as <string>; label: bind $song_album(template.song) as <string>;
ellipsize: end; ellipsize: end;
max-width-chars: 1;
hexpand: true;
} }
} }
} }