From d17f39e85bfd1508f10dd7578d02903594d8bd53 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 6 Nov 2025 16:18:08 -0500 Subject: [PATCH] Fixes naming cropping the menu icon --- .../ui/screen/loggedIn/lists/list/PeopleListItem.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/PeopleListItem.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/PeopleListItem.kt index dd6b32788..bc671c5b6 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/PeopleListItem.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/PeopleListItem.kt @@ -81,7 +81,7 @@ private fun PeopleListItemPreview() { val samplePeopleList1 = PeopleList( identifierTag = "00001-2222", - title = "Sample List Title", + title = "Sample List Title, Very long title, very very very long", description = "Sample List Description", emptySet(), emptySet(), @@ -173,7 +173,12 @@ fun PeopleListItem( modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween, ) { - Text(peopleList.title, maxLines = 1, overflow = TextOverflow.Ellipsis) + Text( + modifier = Modifier.weight(1f), + text = peopleList.title, + maxLines = 1, + overflow = TextOverflow.Ellipsis, + ) Column( modifier = NoSoTinyBorders,