Try to keep long code snippets and images in the thread to avoid cluttering the channel, please
Mike
07/08/2025, 3:52 PM
Does this do what you're after?
Copy code
Column {
Text(
modifier = Modifier.weight(1f)
.wrapContentHeight()
.verticalScroll(rememberScrollState()),
text = "Some text that can be very long."
)
Button(onClick = {}) {
Text("Click me")
}
}