single-line-mode for all labels

This commit is contained in:
Erica Z 2024-11-26 16:14:13 +01:00
parent 8c61f7545b
commit 3eb412d7b2
3 changed files with 11 additions and 0 deletions

View file

@ -15,6 +15,7 @@ template $AudreyUiAlbumCarousel: Adw.Bin {
height-request: 42;
Label {
single-line-mode: true;
label: bind template.title;
styles [
@ -106,6 +107,7 @@ template $AudreyUiAlbumCarousel: Adw.Bin {
homogeneous: true;
Label {
single-line-mode: true;
label: bind template.item as <$AudreyModelAlbum>.name;
ellipsize: end;
xalign: 0;
@ -117,6 +119,7 @@ template $AudreyUiAlbumCarousel: Adw.Bin {
}
Label {
single-line-mode: true;
label: bind template.item as <$AudreyModelAlbum>.artist;
ellipsize: end;
xalign: 0;

View file

@ -19,6 +19,7 @@ template $AudreyUiPlayQueueSong: Box {
}
Label {
single-line-mode: true;
visible: bind template.current inverted;
focusable: false;
halign: end;
@ -60,6 +61,7 @@ template $AudreyUiPlayQueueSong: Box {
orientation: vertical;
Label {
single-line-mode: true;
styles [
"title"
]
@ -75,6 +77,7 @@ template $AudreyUiPlayQueueSong: Box {
}
Label {
single-line-mode: true;
styles [
"subtitle"
]

View file

@ -41,6 +41,7 @@ template $AudreyUiPlaybar: Adw.Bin {
valign: center;
Label {
single-line-mode: true;
styles [
"heading"
]
@ -53,6 +54,7 @@ template $AudreyUiPlaybar: Adw.Bin {
}
Label {
single-line-mode: true;
styles [
"caption"
]
@ -65,6 +67,7 @@ template $AudreyUiPlaybar: Adw.Bin {
}
Label {
single-line-mode: true;
styles [
"caption"
]
@ -86,6 +89,7 @@ template $AudreyUiPlaybar: Adw.Bin {
CenterBox {
[start]
Label play_position_label {
single-line-mode: true;
styles [
"caption",
"numeric",
@ -112,6 +116,7 @@ template $AudreyUiPlaybar: Adw.Bin {
[end]
Label play_duration {
single-line-mode: true;
styles [
"caption",
"numeric",