I suspect there's an easy answer...I have a LazyRo...
# compose-desktop
d
I suspect there's an easy answer...I have a LazyRow of items of differing heights and I'm not sure how to align them to the bottom of the LazyRow.
message has been deleted
Copy code
LazyRow(modifier, horizontalArrangement = Arrangement.spacedBy(8.dp)) {
    items(items.value) {
        renderToast(it)
    }
}
what does not work is
Copy code
renderToast(modifier = Modifier.align(Alignment.Bottom), it)
since
LazyItemScope
doesn't do alignment
k
How would it do that without knowing the heights of every single item?
d
i'm not sure what you're suggesting
that it's possible to anchor items to the top, but not to the bottom?
got it
just needed to add
verticalAlignment = Alignment.Bottom
Copy code
LazyRow(modifier, horizontalArrangement = horizontalArrangement, verticalAlignment = Alignment.Bottom)