Fixes naming cropping the menu icon
This commit is contained in:
+7
-2
@@ -81,7 +81,7 @@ private fun PeopleListItemPreview() {
|
|||||||
val samplePeopleList1 =
|
val samplePeopleList1 =
|
||||||
PeopleList(
|
PeopleList(
|
||||||
identifierTag = "00001-2222",
|
identifierTag = "00001-2222",
|
||||||
title = "Sample List Title",
|
title = "Sample List Title, Very long title, very very very long",
|
||||||
description = "Sample List Description",
|
description = "Sample List Description",
|
||||||
emptySet(),
|
emptySet(),
|
||||||
emptySet(),
|
emptySet(),
|
||||||
@@ -173,7 +173,12 @@ fun PeopleListItem(
|
|||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
horizontalArrangement = Arrangement.SpaceBetween,
|
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(
|
Column(
|
||||||
modifier = NoSoTinyBorders,
|
modifier = NoSoTinyBorders,
|
||||||
|
|||||||
Reference in New Issue
Block a user