Hello, how can I tell Compose to draw child conten...
# compose
n
Hello, how can I tell Compose to draw child content "from the bottom" if the parent height is smaller than the child content height ? Depending on the scrolling of the RecyclerView (we are migrating 🙈), I "expand" the ComposeView to "reveal" the content. Problem is, the content is drawn from top to bottom and I can't find a way to change it
verticalArrangement = Arrangement.Bottom
on the Column doesn't work. He's my code for the Composable
Copy code
Column(
    modifier = Modifier
        .height(height), // height is dynamic depending on RecyclerView's scroll
    verticalArrangement = Arrangement.Bottom
) {
    Text(
        modifier = Modifier.fillMaxWidth(),
        textAlign = TextAlign.Center,
        text = uiState.index
    )
    Text(
        modifier = Modifier.fillMaxWidth(),
        textAlign = TextAlign.Center,
        text = "This should be seen last when scrolling down",
    )
    Text(
        modifier = Modifier.fillMaxWidth(),
        textAlign = TextAlign.Center,
        text = "This should be seen first when scrolling down",
    )
}
v
Hi, ask here too #C04TPPEQKEJ
g
Have you tried Spacer(Modifier.weight(1f)) to push content to the bottom?