How to have a `Box` with the same height as other ...
# compose-desktop
a
How to have a
Box
with the same height as other contents of a
Row
within a
LazyColumn
? Setting the Box to
fillMaxHeight()
won't display the Box, and setting it to
fillParentMaxHeight()
will make its height larger than the rest of the content. Is it a bug or am I missing something here?
Copy code
LazyColumn {
    item {
        Row {
            Box(
                Modifier
                    .background(Color.Blue)
                    .width(5.dp)
                    .fillMaxHeight(),
            )
            Text("Hello world!")
        }
    }
}