```Box(Modifier.fillMaxSize()) { Column(Modifi...
# compose
t
Copy code
Box(Modifier.fillMaxSize()) {
    Column(Modifier.matchParentSize().verticalScroll(rememberScrollState())) {
        repeat(5) {
            Box(
                Modifier
                    .padding(bottom = 10.dp)
                    .background(Color.LightGray)
                    .height(64.dp)
                    .fillMaxWidth()
            )
        }

        Spacer(Modifier.weight(1f)) // Fills remaining space inside the Box

        Button(onClick = {}) {
            Text("Save changes")
        }
    }
}
Do you need the nested columns? It works beautifully when using an outer
Box
and
matchParentSize
on the scrollable, inner column.
Oh, this thread is older than I thought, I'm still going through my backlog...